aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-08-12 21:17:39 +0300
committerGitHub <noreply@github.com>2020-08-12 21:17:39 +0300
commit3e966272b855b4c167582abf21439429d11c2c8b (patch)
tree0425766e8fa6bad616f687e660e2469e914c6a98 /services
parent5462174ca076aef53d06b92372141c665c923ea3 (diff)
parent4194a35550bb962563f447b91811759f0d291f75 (diff)
downloadwhich-api-3e966272b855b4c167582abf21439429d11c2c8b.tar.gz
Merge pull request #20 from which-ecosystem/s3-reuploads
Improve reuploads and add script
Diffstat (limited to 'services')
-rw-r--r--services/polls/polls.hooks.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/polls/polls.hooks.ts b/services/polls/polls.hooks.ts
index 7a5b1da..7853c54 100644
--- a/services/polls/polls.hooks.ts
+++ b/services/polls/polls.hooks.ts
@@ -55,7 +55,8 @@ export default {
},
after: {
all: convertPoll,
- create: fetchImages(['contents.left.url', 'contents.right.url'])
+ create: fetchImages(['contents.left.url', 'contents.right.url']),
+ patch: fetchImages(['contents.left.url', 'contents.right.url'])
}
};