diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
commit | 7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70 (patch) | |
tree | 8042222877ed6dc983ff0e13ea3ec56aa1a4386a /server/lib | |
parent | 4ffdcfc63b8c804a0aea20609544c859ab57318b (diff) | |
download | PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.gz PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.zst PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.zip |
Rename downloadingEnabled property to downloadEnabled
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/videos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index dd02141ee..8521572a1 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts | |||
@@ -230,7 +230,7 @@ async function updateVideoFromAP (options: { | |||
230 | options.video.set('support', videoData.support) | 230 | options.video.set('support', videoData.support) |
231 | options.video.set('nsfw', videoData.nsfw) | 231 | options.video.set('nsfw', videoData.nsfw) |
232 | options.video.set('commentsEnabled', videoData.commentsEnabled) | 232 | options.video.set('commentsEnabled', videoData.commentsEnabled) |
233 | options.video.set('downloadingEnabled', videoData.downloadingEnabled) | 233 | options.video.set('downloadEnabled', videoData.downloadEnabled) |
234 | options.video.set('waitTranscoding', videoData.waitTranscoding) | 234 | options.video.set('waitTranscoding', videoData.waitTranscoding) |
235 | options.video.set('state', videoData.state) | 235 | options.video.set('state', videoData.state) |
236 | options.video.set('duration', videoData.duration) | 236 | options.video.set('duration', videoData.duration) |
@@ -442,7 +442,7 @@ async function videoActivityObjectToDBAttributes ( | |||
442 | support, | 442 | support, |
443 | nsfw: videoObject.sensitive, | 443 | nsfw: videoObject.sensitive, |
444 | commentsEnabled: videoObject.commentsEnabled, | 444 | commentsEnabled: videoObject.commentsEnabled, |
445 | downloadingEnabled: videoObject.downloadingEnabled, | 445 | downloadEnabled: videoObject.downloadEnabled, |
446 | waitTranscoding: videoObject.waitTranscoding, | 446 | waitTranscoding: videoObject.waitTranscoding, |
447 | state: videoObject.state, | 447 | state: videoObject.state, |
448 | channelId: videoChannel.id, | 448 | channelId: videoChannel.id, |