diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 11:23:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-09 11:41:18 +0200 |
commit | 360329cc029c062bfb145c90f7bf1c007c39af81 (patch) | |
tree | a40fb8e31c0d40d65a83e9f0fbc12793230b5c0e /client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts | |
parent | bf696869538eaef27e5a8445035967c01f214501 (diff) | |
download | PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.gz PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.zst PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.zip |
Account/channel descriptions are not required anymore
Diffstat (limited to 'client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts index c0dc6a939..9adc38691 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts | |||
@@ -92,8 +92,8 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE | |||
92 | const body = this.form.value | 92 | const body = this.form.value |
93 | const videoChannelUpdate: VideoChannelUpdate = { | 93 | const videoChannelUpdate: VideoChannelUpdate = { |
94 | displayName: body['display-name'], | 94 | displayName: body['display-name'], |
95 | description: body.description || undefined, | 95 | description: body.description || null, |
96 | support: body.support || undefined | 96 | support: body.support || null |
97 | } | 97 | } |
98 | 98 | ||
99 | this.videoChannelService.updateVideoChannel(this.videoChannelToUpdate.uuid, videoChannelUpdate).subscribe( | 99 | this.videoChannelService.updateVideoChannel(this.videoChannelToUpdate.uuid, videoChannelUpdate).subscribe( |