]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/rest/rest.service.ts
Display a message on no channel
[github/Chocobozzz/PeerTube.git] / client / src / app / core / rest / rest.service.ts
index 9e32c6d582eefc3405f2b8b52844d8ceea71738b..4f1fc884846f636b6f4baee4c8738b5394c57681 100644 (file)
@@ -49,7 +49,7 @@ export class RestService {
       const value = object[name]
       if (value === undefined || value === null) continue
 
-      if (Array.isArray(value) && value.length !== 0) {
+      if (Array.isArray(value)) {
         for (const v of value) params = params.append(name, v)
       } else {
         params = params.append(name, value)