]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/video.service.ts
Add new name/terms/description config options
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video.service.ts
index 50761ca0c106c71cb2c8f89de8adc1951f42837f..d4f5e258f155ff2ae3b697bf21d617e6e9ecbc6c 100644 (file)
@@ -42,10 +42,10 @@ export class VideoService {
   }
 
   updateVideo (video: VideoEdit) {
-    const language = video.language || undefined
-    const licence = video.licence || undefined
-    const category = video.category || undefined
-    const description = video.description || undefined
+    const language = video.language || null
+    const licence = video.licence || null
+    const category = video.category || null
+    const description = video.description || null
 
     const body: VideoUpdate = {
       name: video.name,