aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/rate.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/videos/rate.ts')
-rw-r--r--server/controllers/api/videos/rate.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/api/videos/rate.ts b/server/controllers/api/videos/rate.ts
index 9d63b5821..b1732837d 100644
--- a/server/controllers/api/videos/rate.ts
+++ b/server/controllers/api/videos/rate.ts
@@ -67,8 +67,6 @@ async function rateVideo (req: express.Request, res: express.Response) {
67 dislikes: dislikesToIncrement 67 dislikes: dislikesToIncrement
68 } 68 }
69 69
70 // Even if we do not own the video we increment the attributes
71 // It is useful for the user to have a feedback
72 await videoInstance.increment(incrementQuery, sequelizeOptions) 70 await videoInstance.increment(incrementQuery, sequelizeOptions)
73 71
74 await sendVideoRateChange(accountInstance, videoInstance, likesToIncrement, dislikesToIncrement, t) 72 await sendVideoRateChange(accountInstance, videoInstance, likesToIncrement, dislikesToIncrement, t)