aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-07-29 18:35:17 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-11 08:46:35 +0200
commit69db1470432a6db8ef6929ef3175af75f7aaa963 (patch)
treef03e8fdb5ef1b46916027987f5f6819410bb3bf9 /shared/models
parent4e68fc8605bff02f4c79deafc24cb39779802d0d (diff)
downloadPeerTube-69db1470432a6db8ef6929ef3175af75f7aaa963.tar.gz
PeerTube-69db1470432a6db8ef6929ef3175af75f7aaa963.tar.zst
PeerTube-69db1470432a6db8ef6929ef3175af75f7aaa963.zip
Make channelName optionnal only for the API
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/users/user-create.model.ts2
1 files changed, 1 insertions, 1 deletions
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 {
9 videoQuotaDaily: number 9 videoQuotaDaily: number
10 role: UserRole 10 role: UserRole
11 adminFlags?: UserAdminFlag 11 adminFlags?: UserAdminFlag
12 channelName: string 12 channelName?: string
13} 13}