diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-share.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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> { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | static loadByUrl (url: string, t: Sequelize.Transaction) { | 101 | static loadByUrl (url: string, t: Sequelize.Transaction) { |
102 | return VideoShareModel.scope(ScopeNames.WITH_ACTOR).findOne({ | 102 | return VideoShareModel.scope(ScopeNames.FULL).findOne({ |
103 | where: { | 103 | where: { |
104 | url | 104 | url |
105 | }, | 105 | }, |