diff options
Diffstat (limited to 'services/feed/feed.service.ts')
-rw-r--r-- | services/feed/feed.service.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/feed/feed.service.ts b/services/feed/feed.service.ts index f641425..d326656 100644 --- a/services/feed/feed.service.ts +++ b/services/feed/feed.service.ts @@ -1,7 +1,10 @@ import { Application } from '@feathersjs/express'; import Feed from './feed.class'; +import hooks from './feed.hooks'; + export default (app: Application): void => { app.use('/feed', new Feed()); + app.service('feed').hooks(hooks); }; |