diff options
Diffstat (limited to 'server/models/user/user-video-rate.ts')
-rw-r--r-- | server/models/user/user-video-rate.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user/user-video-rate.ts b/server/models/user/user-video-rate.ts index 68be62fc2..1094eb281 100644 --- a/server/models/user/user-video-rate.ts +++ b/server/models/user/user-video-rate.ts | |||
@@ -67,7 +67,7 @@ function associate (models) { | |||
67 | }) | 67 | }) |
68 | } | 68 | } |
69 | 69 | ||
70 | load = function (userId: number, videoId: number, transaction: Sequelize.Transaction, callback: UserVideoRateMethods.LoadCallback) { | 70 | load = function (userId: number, videoId: string, transaction: Sequelize.Transaction, callback: UserVideoRateMethods.LoadCallback) { |
71 | const options: Sequelize.FindOptions = { | 71 | const options: Sequelize.FindOptions = { |
72 | where: { | 72 | where: { |
73 | userId, | 73 | userId, |