diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-27 16:40:07 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-27 16:40:07 +0300 |
commit | 0a6a6be1b43635c60e76669ac2a7ee8581d9b183 (patch) | |
tree | a8759f1d34e55d809a5b702fdca60a82117e1a2e /services | |
parent | 8f5f077c318e9b466cc47ebab548ea0cd69052f0 (diff) | |
download | which-api-0a6a6be1b43635c60e76669ac2a7ee8581d9b183.tar.gz |
style: fix linting errors
Diffstat (limited to 'services')
-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) ] } }; |