aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-28 16:15:04 +0200
committerChocobozzz <me@florianbigard.com>2022-10-28 16:34:08 +0200
commit9e5cf66be7ad897e106f283bee73a165c72e74de (patch)
tree16de6f775c412281236b8f99be8e5118e5a6ff71 /shared/models
parent3f9decbd01d25f1b1805e2764dff4beae7d36c19 (diff)
downloadPeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.tar.gz
PeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.tar.zst
PeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.zip
Breaking API: Consistency with role id/label
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/users/user.model.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index 7b6494ff8..761a2edba 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -28,8 +28,10 @@ export interface User {
28 videosHistoryEnabled: boolean 28 videosHistoryEnabled: boolean
29 videoLanguages: string[] 29 videoLanguages: string[]
30 30
31 role: UserRole 31 role: {
32 roleLabel: string 32 id: UserRole
33 label: string
34 }
33 35
34 videoQuota: number 36 videoQuota: number
35 videoQuotaDaily: number 37 videoQuotaDaily: number