diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-28 16:15:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-28 16:34:08 +0200 |
commit | 9e5cf66be7ad897e106f283bee73a165c72e74de (patch) | |
tree | 16de6f775c412281236b8f99be8e5118e5a6ff71 /shared | |
parent | 3f9decbd01d25f1b1805e2764dff4beae7d36c19 (diff) | |
download | PeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.tar.gz PeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.tar.zst PeerTube-9e5cf66be7ad897e106f283bee73a165c72e74de.zip |
Breaking API: Consistency with role id/label
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/users/user.model.ts | 6 |
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 |