X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Faccount-video-rate.ts;h=c593595b2b2c22d3c6716bf181345f7e8c6c38a5;hb=d5d9b6d7bfb7e9426b6462f7fdf285df39eea820;hp=a6edbeee8b2b8ac8a2d9e48077f9a7de468166fe;hpb=d5c8932a601c1854db0a2e399ccaf26e17385f1a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/account/account-video-rate.ts b/server/models/account/account-video-rate.ts index a6edbeee8..c593595b2 100644 --- a/server/models/account/account-video-rate.ts +++ b/server/models/account/account-video-rate.ts @@ -150,7 +150,7 @@ export class AccountVideoRateModel extends Model { static loadLocalAndPopulateVideo ( rateType: VideoRateType, accountName: string, - videoId: number, + videoId: number | string, t?: Transaction ): Bluebird { const options: FindOptions = {