aboutsummaryrefslogtreecommitdiff
path: root/services/profiles/profiles.service.ts
blob: e8604260f15d3c88f0e548c4f2e8706f9be403ce (plain)
1
2
3
4
5
6
7
8
9
10
import { Application } from '@feathersjs/express';
import Profiles from './profiles.class';

import hooks from './profiles.hooks';

export default (app: Application): void => {
  app.use('/profiles', new Profiles());
  app.service('profiles').hooks(hooks);
};