diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-22 21:29:17 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-22 21:29:17 +0300 |
commit | 676c722a994a214c182bcf26b80eab09ebf9f61e (patch) | |
tree | 9275da333eac6ca4cf06126be55747744106de99 /services/polls | |
parent | 4101b4ff7a5c328164fe74ebfa3c42b82f332c43 (diff) | |
download | which-api-676c722a994a214c182bcf26b80eab09ebf9f61e.tar.gz |
refactor: unite convertPoll hooks
Diffstat (limited to 'services/polls')
-rw-r--r-- | services/polls/polls.hooks.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/services/polls/polls.hooks.ts b/services/polls/polls.hooks.ts index a914cd0..eba3e63 100644 --- a/services/polls/polls.hooks.ts +++ b/services/polls/polls.hooks.ts @@ -1,12 +1,8 @@ -import { - convertPollHook, - convertPollManyHook -} from '../../hooks/convertPoll'; +import convertPoll from '../../hooks/convertPoll'; export default { after: { - get: [convertPollHook], - find: [convertPollManyHook] + all: [convertPoll], } }; |