From 9588d4f49b7183631ddb97fa9c3cd79f9bfe2945 Mon Sep 17 00:00:00 2001 From: Chocobozzz <me@florianbigard.com> Date: Thu, 31 May 2018 10:23:56 +0200 Subject: Correctly forward video related activities --- server/models/video/video-share.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') diff --git a/server/models/video/video-share.ts b/server/models/video/video-share.ts index adadf5dea..15dba3f7d 100644 --- a/server/models/video/video-share.ts +++ b/server/models/video/video-share.ts @@ -99,7 +99,7 @@ export class VideoShareModel extends Model<VideoShareModel> { } static loadByUrl (url: string, t: Sequelize.Transaction) { - return VideoShareModel.scope(ScopeNames.WITH_ACTOR).findOne({ + return VideoShareModel.scope(ScopeNames.FULL).findOne({ where: { url }, -- cgit v1.2.3