diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:24:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:26:20 +0200 |
commit | e94fc29706cd8e8fd892182d4de0a3ae80a3820f (patch) | |
tree | 75a6b81bb3b74cbacf06ef27e867fcb134d81a06 /client/src/app/shared/video/video.service.ts | |
parent | fc11a44ec9d12af915ac72d8106cb934cfcdcbcd (diff) | |
download | PeerTube-e94fc29706cd8e8fd892182d4de0a3ae80a3820f.tar.gz PeerTube-e94fc29706cd8e8fd892182d4de0a3ae80a3820f.tar.zst PeerTube-e94fc29706cd8e8fd892182d4de0a3ae80a3820f.zip |
Fix removing scheduled update
Diffstat (limited to 'client/src/app/shared/video/video.service.ts')
-rw-r--r-- | client/src/app/shared/video/video.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts index 3af90e7ad..2da36ff1b 100644 --- a/client/src/app/shared/video/video.service.ts +++ b/client/src/app/shared/video/video.service.ts | |||
@@ -68,6 +68,7 @@ export class VideoService { | |||
68 | const category = video.category || null | 68 | const category = video.category || null |
69 | const description = video.description || null | 69 | const description = video.description || null |
70 | const support = video.support || null | 70 | const support = video.support || null |
71 | const scheduleUpdate = video.scheduleUpdate || null | ||
71 | 72 | ||
72 | const body: VideoUpdate = { | 73 | const body: VideoUpdate = { |
73 | name: video.name, | 74 | name: video.name, |
@@ -84,7 +85,7 @@ export class VideoService { | |||
84 | commentsEnabled: video.commentsEnabled, | 85 | commentsEnabled: video.commentsEnabled, |
85 | thumbnailfile: video.thumbnailfile, | 86 | thumbnailfile: video.thumbnailfile, |
86 | previewfile: video.previewfile, | 87 | previewfile: video.previewfile, |
87 | scheduleUpdate: video.scheduleUpdate || undefined | 88 | scheduleUpdate |
88 | } | 89 | } |
89 | 90 | ||
90 | const data = objectToFormData(body) | 91 | const data = objectToFormData(body) |