aboutsummaryrefslogtreecommitdiff
path: root/services/profiles
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-22 21:29:17 +0300
committereug-vs <eug-vs@keemail.me>2020-06-22 21:29:17 +0300
commit676c722a994a214c182bcf26b80eab09ebf9f61e (patch)
tree9275da333eac6ca4cf06126be55747744106de99 /services/profiles
parent4101b4ff7a5c328164fe74ebfa3c42b82f332c43 (diff)
downloadwhich-api-676c722a994a214c182bcf26b80eab09ebf9f61e.tar.gz
refactor: unite convertPoll hooks
Diffstat (limited to 'services/profiles')
-rw-r--r--services/profiles/profiles.hooks.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/services/profiles/profiles.hooks.ts b/services/profiles/profiles.hooks.ts
index 4447bee..13d6f63 100644
--- a/services/profiles/profiles.hooks.ts
+++ b/services/profiles/profiles.hooks.ts
@@ -1,10 +1,8 @@
-import {
- convertPollManyHook
-} from '../../hooks/convertPoll';
+import convertPoll from '../../hooks/convertPoll';
export default {
after: {
- get: [convertPollManyHook]
+ all: [convertPoll]
}
};