diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 0af70cadf..5d8089328 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -251,6 +251,10 @@ export enum ScopeNames { | |||
251 | attributes: [ 'host' ], | 251 | attributes: [ 'host' ], |
252 | model: () => ServerModel.unscoped(), | 252 | model: () => ServerModel.unscoped(), |
253 | required: false | 253 | required: false |
254 | }, | ||
255 | { | ||
256 | model: () => AvatarModel.unscoped(), | ||
257 | required: false | ||
254 | } | 258 | } |
255 | ] | 259 | ] |
256 | }, | 260 | }, |