]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-share.ts
Update server dependencies
[github/Chocobozzz/PeerTube.git] / server / models / video / video-share.ts
index 9019b401abeda0d0439cebb63673c91f7effd370..50525b4c25977b6ac2223a4d49f4ded28535506a 100644 (file)
@@ -90,7 +90,7 @@ export class VideoShareModel extends Model<VideoShareModel> {
   })
   Video: VideoModel
 
-  static load (actorId: number, videoId: number, t?: Transaction): Bluebird<MVideoShareActor> {
+  static load (actorId: number | string, videoId: number | string, t?: Transaction): Bluebird<MVideoShareActor> {
     return VideoShareModel.scope(ScopeNames.WITH_ACTOR).findOne({
       where: {
         actorId,