diff options
Diffstat (limited to 'services/feed/feed.hooks.ts')
-rw-r--r-- | services/feed/feed.hooks.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/feed/feed.hooks.ts b/services/feed/feed.hooks.ts index 33c6e71..54f6d61 100644 --- a/services/feed/feed.hooks.ts +++ b/services/feed/feed.hooks.ts @@ -1,6 +1,6 @@ import _ from 'lodash'; import { HookContext } from '@feathersjs/feathers'; -import { iff, combine } from 'feathers-hooks-common'; +import { iff } from 'feathers-hooks-common'; import isAuthenticated from '../../hooks/isAuthenticated'; const raiseNewVerifedPolls = async (context: HookContext): Promise<HookContext> => { @@ -25,7 +25,7 @@ export default { after: { find: [ iff(isAuthenticated, raiseNewVerifedPolls), - iff(isAuthenticated, lowerOldPolls), + iff(isAuthenticated, lowerOldPolls) ] } }; |