aboutsummaryrefslogtreecommitdiff
path: root/services/votes/votes.service.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-25 11:02:54 +0300
committereug-vs <eug-vs@keemail.me>2020-06-25 11:02:54 +0300
commit681e51a658bfed723b368fc5b71b1350909d9496 (patch)
treee3d5f5b6ce5b4c2e64cb071f9802b51b2a5f9d99 /services/votes/votes.service.ts
parent34ec4c9f1bbd13a7a633bdd02425d207986baea3 (diff)
downloadwhich-api-681e51a658bfed723b368fc5b71b1350909d9496.tar.gz
feat: setup hooks for VoteService
Diffstat (limited to 'services/votes/votes.service.ts')
-rw-r--r--services/votes/votes.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/votes/votes.service.ts b/services/votes/votes.service.ts
index 81f767c..cb40c1a 100644
--- a/services/votes/votes.service.ts
+++ b/services/votes/votes.service.ts
@@ -7,7 +7,7 @@ import hooks from './votes.hooks';
const VoteService = service({ Model });
export default (app: Application): void => {
- app.use('/votes/', VoteService);
+ app.use('/votes', VoteService);
app.service('votes').hooks(hooks);
};