diff options
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 514edfd9c..0d115367f 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -67,7 +67,7 @@ enum ScopeNames { | |||
67 | '$VideoChannel.Account.Actor.serverId$': null | 67 | '$VideoChannel.Account.Actor.serverId$': null |
68 | }, | 68 | }, |
69 | { | 69 | { |
70 | '$VideoChannel.Account.Actor.followers.actorId$': actorId | 70 | '$VideoChannel.Account.Actor.ActorFollowers.actorId$': actorId |
71 | }, | 71 | }, |
72 | { | 72 | { |
73 | id: { | 73 | id: { |
@@ -106,7 +106,7 @@ enum ScopeNames { | |||
106 | { | 106 | { |
107 | attributes: [ ], | 107 | attributes: [ ], |
108 | model: ActorFollowModel.unscoped(), | 108 | model: ActorFollowModel.unscoped(), |
109 | as: 'followers', | 109 | as: 'ActorFollowers', |
110 | required: false | 110 | required: false |
111 | } | 111 | } |
112 | ] | 112 | ] |