aboutsummaryrefslogtreecommitdiff
path: root/services/feed/feed.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'services/feed/feed.service.ts')
-rw-r--r--services/feed/feed.service.ts3
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);
};