diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-16 14:13:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-16 14:13:01 +0200 |
commit | 1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213 (patch) | |
tree | 0f231073a848f3089752fda5fe378ff5b64c229b /server/models/video/video.ts | |
parent | af75e2d8df92d5d602e11353536ec6804a25f16f (diff) | |
download | PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.tar.gz PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.tar.zst PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.zip |
Add videos count in channels list
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index ae2483b2f..1f590c02d 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -500,7 +500,7 @@ export class VideoModel extends Model<VideoModel> { | |||
500 | @AllowNull(false) | 500 | @AllowNull(false) |
501 | @Is('VideoPrivacy', value => throwIfNotValid(value, isVideoPrivacyValid, 'privacy')) | 501 | @Is('VideoPrivacy', value => throwIfNotValid(value, isVideoPrivacyValid, 'privacy')) |
502 | @Column | 502 | @Column |
503 | privacy: number | 503 | privacy: VideoPrivacy |
504 | 504 | ||
505 | @AllowNull(false) | 505 | @AllowNull(false) |
506 | @Is('VideoNSFW', value => throwIfNotValid(value, isBooleanValid, 'NSFW boolean')) | 506 | @Is('VideoNSFW', value => throwIfNotValid(value, isBooleanValid, 'NSFW boolean')) |