diff options
Diffstat (limited to 'services/profiles/profiles.service.ts')
-rw-r--r-- | services/profiles/profiles.service.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/services/profiles/profiles.service.ts b/services/profiles/profiles.service.ts new file mode 100644 index 0000000..3422352 --- /dev/null +++ b/services/profiles/profiles.service.ts @@ -0,0 +1,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); +}; + |