From 1e1265b36c09df1465aa2b4866815c957b6a532e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Nov 2017 09:31:41 +0100 Subject: Make the client compile too --- client/src/app/shared/users/user.model.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/users') 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 = { videoQuota?: number, displayNSFW?: boolean, createdAt?: Date, - author?: { + account?: { id: number uuid: string }, @@ -27,7 +27,7 @@ export class User implements UserServerModel { role: UserRole displayNSFW: boolean videoQuota: number - author: { + account: { id: number uuid: string } @@ -39,7 +39,7 @@ export class User implements UserServerModel { this.username = hash.username this.email = hash.email this.role = hash.role - this.author = hash.author + this.account = hash.account if (hash.videoChannels !== undefined) { this.videoChannels = hash.videoChannels -- cgit v1.2.3