From 69db1470432a6db8ef6929ef3175af75f7aaa963 Mon Sep 17 00:00:00 2001
From: kimsible <kimsible@users.noreply.github.com>
Date: Wed, 29 Jul 2020 18:35:17 +0200
Subject: Make channelName optionnal only for the API

---
 shared/models/users/user-create.model.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'shared/models')

diff --git a/shared/models/users/user-create.model.ts b/shared/models/users/user-create.model.ts
index 601c531cd..ddc71dd59 100644
--- a/shared/models/users/user-create.model.ts
+++ b/shared/models/users/user-create.model.ts
@@ -9,5 +9,5 @@ export interface UserCreate {
   videoQuotaDaily: number
   role: UserRole
   adminFlags?: UserAdminFlag
-  channelName: string
+  channelName?: string
 }
-- 
cgit v1.2.3