diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-31 16:30:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-31 16:44:46 +0200 |
commit | 7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c (patch) | |
tree | d2d2c9806dd1bf551ad39102149f514bca4c52eb /shared/extra-utils/videos/videos.ts | |
parent | 9977c128387f38dddd697b2e9a405dcea52407b7 (diff) | |
download | PeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.tar.gz PeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.tar.zst PeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.zip |
Server: Bulk update videos support field
Diffstat (limited to 'shared/extra-utils/videos/videos.ts')
-rw-r--r-- | shared/extra-utils/videos/videos.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index a4ca43f26..debaaf9a7 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts | |||
@@ -355,6 +355,7 @@ async function uploadVideo (url: string, accessToken: string, videoAttributesArg | |||
355 | .set('Accept', 'application/json') | 355 | .set('Accept', 'application/json') |
356 | .set('Authorization', 'Bearer ' + accessToken) | 356 | .set('Authorization', 'Bearer ' + accessToken) |
357 | .field('name', attributes.name) | 357 | .field('name', attributes.name) |
358 | .field('support', attributes.support) | ||
358 | .field('nsfw', JSON.stringify(attributes.nsfw)) | 359 | .field('nsfw', JSON.stringify(attributes.nsfw)) |
359 | .field('commentsEnabled', JSON.stringify(attributes.commentsEnabled)) | 360 | .field('commentsEnabled', JSON.stringify(attributes.commentsEnabled)) |
360 | .field('downloadEnabled', JSON.stringify(attributes.downloadEnabled)) | 361 | .field('downloadEnabled', JSON.stringify(attributes.downloadEnabled)) |