diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-29 14:34:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-29 14:34:04 +0200 |
commit | 52d9f792b3fee5acce80f948295b59e3ad2073eb (patch) | |
tree | 661f577e9c7196d199b4b49e475ecd2d88e6d7b7 /server/models | |
parent | 4bbfc6c606c8d3794bae25c64c516120af41f4eb (diff) | |
download | PeerTube-52d9f792b3fee5acce80f948295b59e3ad2073eb.tar.gz PeerTube-52d9f792b3fee5acce80f948295b59e3ad2073eb.tar.zst PeerTube-52d9f792b3fee5acce80f948295b59e3ad2073eb.zip |
Client: Add ability to update video channel avatar
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 | }, |