]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account-video-rate.ts
Update server dependencies
[github/Chocobozzz/PeerTube.git] / server / models / account / account-video-rate.ts
index a6edbeee8b2b8ac8a2d9e48077f9a7de468166fe..c593595b2b2c22d3c6716bf181345f7e8c6c38a5 100644 (file)
@@ -150,7 +150,7 @@ export class AccountVideoRateModel extends Model<AccountVideoRateModel> {
   static loadLocalAndPopulateVideo (
     rateType: VideoRateType,
     accountName: string,
-    videoId: number,
+    videoId: number | string,
     t?: Transaction
   ): Bluebird<MAccountVideoRateAccountVideo> {
     const options: FindOptions = {