diff options
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r-- | client/src/app/shared/users/user.model.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts index d738899ab..b075ab717 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts | |||
@@ -14,7 +14,7 @@ export type UserConstructorHash = { | |||
14 | videoQuota?: number, | 14 | videoQuota?: number, |
15 | displayNSFW?: boolean, | 15 | displayNSFW?: boolean, |
16 | createdAt?: Date, | 16 | createdAt?: Date, |
17 | author?: { | 17 | account?: { |
18 | id: number | 18 | id: number |
19 | uuid: string | 19 | uuid: string |
20 | }, | 20 | }, |
@@ -27,7 +27,7 @@ export class User implements UserServerModel { | |||
27 | role: UserRole | 27 | role: UserRole |
28 | displayNSFW: boolean | 28 | displayNSFW: boolean |
29 | videoQuota: number | 29 | videoQuota: number |
30 | author: { | 30 | account: { |
31 | id: number | 31 | id: number |
32 | uuid: string | 32 | uuid: string |
33 | } | 33 | } |
@@ -39,7 +39,7 @@ export class User implements UserServerModel { | |||
39 | this.username = hash.username | 39 | this.username = hash.username |
40 | this.email = hash.email | 40 | this.email = hash.email |
41 | this.role = hash.role | 41 | this.role = hash.role |
42 | this.author = hash.author | 42 | this.account = hash.account |
43 | 43 | ||
44 | if (hash.videoChannels !== undefined) { | 44 | if (hash.videoChannels !== undefined) { |
45 | this.videoChannels = hash.videoChannels | 45 | this.videoChannels = hash.videoChannels |