aboutsummaryrefslogtreecommitdiff
path: root/services/feed/feed.service.ts
blob: d3266562a8351e40a4d92ad662254854237b8fe5 (plain)
1
2
3
4
5
6
7
8
9
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);
};