aboutsummaryrefslogtreecommitdiff
path: root/services/profiles/profiles.service.ts
blob: 34223529582ebb9d8a90b9e9ecd095253545b8fd (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);
};