aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/sql/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-11 15:53:52 +0200
committerChocobozzz <me@florianbigard.com>2021-06-11 15:53:52 +0200
commitb8afe6f0cd32177a3670ac0850db5b58678db5f8 (patch)
tree9e840a81bc5694ef5d922ca740e2bafa5b648baa /server/models/video/sql/shared
parent559985b51c087f6289694580ec19bcd3eeb0b2fc (diff)
downloadPeerTube-b8afe6f0cd32177a3670ac0850db5b58678db5f8.tar.gz
PeerTube-b8afe6f0cd32177a3670ac0850db5b58678db5f8.tar.zst
PeerTube-b8afe6f0cd32177a3670ac0850db5b58678db5f8.zip
Fix video rights fetching
Diffstat (limited to 'server/models/video/sql/shared')
-rw-r--r--server/models/video/sql/shared/video-tables.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/sql/shared/video-tables.ts b/server/models/video/sql/shared/video-tables.ts
index 52929fa5e..abdd22188 100644
--- a/server/models/video/sql/shared/video-tables.ts
+++ b/server/models/video/sql/shared/video-tables.ts
@@ -43,6 +43,7 @@ export class VideoTables {
43 if (this.mode === 'get') { 43 if (this.mode === 'get') {
44 attributeKeys = attributeKeys.concat([ 44 attributeKeys = attributeKeys.concat([
45 'description', 45 'description',
46 'userId',
46 'createdAt', 47 'createdAt',
47 'updatedAt' 48 'updatedAt'
48 ]) 49 ])