aboutsummaryrefslogtreecommitdiff
path: root/services/polls
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-21 14:29:59 +0300
committereug-vs <eug-vs@keemail.me>2020-06-21 14:30:55 +0300
commite99b51895afd532a529744396ecae87d47c68503 (patch)
treeb5c1ebc0f364d8e11ddad0f27b57340d45b44bb1 /services/polls
parentf4c4f2d4789880c0cfc956d08aab10b5a93ebcb1 (diff)
downloadwhich-api-e99b51895afd532a529744396ecae87d47c68503.tar.gz
feat: change hooks and install which-types
Diffstat (limited to 'services/polls')
-rw-r--r--services/polls/polls.hooks.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/services/polls/polls.hooks.ts b/services/polls/polls.hooks.ts
index 0637320..a914cd0 100644
--- a/services/polls/polls.hooks.ts
+++ b/services/polls/polls.hooks.ts
@@ -1,12 +1,12 @@
import {
- expandAuthorHook,
- expandAuthorManyHook
-} from '../../hooks/expandAuthor';
+ convertPollHook,
+ convertPollManyHook
+} from '../../hooks/convertPoll';
export default {
after: {
- get: [expandAuthorHook],
- find: [expandAuthorManyHook]
+ get: [convertPollHook],
+ find: [convertPollManyHook]
}
};