aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-12 21:12:02 +0300
committereug-vs <eug-vs@keemail.me>2020-08-12 21:14:37 +0300
commit763fd06f3076c96c7fa45ddd6efcc246520c8fbb (patch)
tree11dbf2c79e99101f400a3831471ba3e7de5d2a80 /services
parent15dfeb17076f1a25f564fbf5f694c3bfafb25c45 (diff)
downloadwhich-api-763fd06f3076c96c7fa45ddd6efcc246520c8fbb.tar.gz
fix: correctly reupload poll urls
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'])
}
};