aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-09 11:23:14 +0200
committerChocobozzz <me@florianbigard.com>2018-05-09 11:41:18 +0200
commit360329cc029c062bfb145c90f7bf1c007c39af81 (patch)
treea40fb8e31c0d40d65a83e9f0fbc12793230b5c0e /client/src/app/shared/video/video.service.ts
parentbf696869538eaef27e5a8445035967c01f214501 (diff)
downloadPeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.gz
PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.zst
PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.zip
Account/channel descriptions are not required anymore
Diffstat (limited to 'client/src/app/shared/video/video.service.ts')
-rw-r--r--client/src/app/shared/video/video.service.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts
index 8870cbee4..b45777c55 100644
--- a/client/src/app/shared/video/video.service.ts
+++ b/client/src/app/shared/video/video.service.ts
@@ -54,11 +54,11 @@ export class VideoService {
54 } 54 }
55 55
56 updateVideo (video: VideoEdit) { 56 updateVideo (video: VideoEdit) {
57 const language = video.language || undefined 57 const language = video.language || null
58 const licence = video.licence || undefined 58 const licence = video.licence || null
59 const category = video.category || undefined 59 const category = video.category || null
60 const description = video.description || undefined 60 const description = video.description || null
61 const support = video.support || undefined 61 const support = video.support || null
62 62
63 const body: VideoUpdate = { 63 const body: VideoUpdate = {
64 name: video.name, 64 name: video.name,