From 9e5cf66be7ad897e106f283bee73a165c72e74de Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Oct 2022 16:15:04 +0200 Subject: Breaking API: Consistency with role id/label --- shared/models/users/user.model.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/models') 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 { videosHistoryEnabled: boolean videoLanguages: string[] - role: UserRole - roleLabel: string + role: { + id: UserRole + label: string + } videoQuota: number videoQuotaDaily: number -- cgit v1.2.3