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/core/auth/auth.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/core/auth') diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 913c857e3..0aa276c69 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -42,7 +42,7 @@ interface UserLoginWithUserInformation extends UserLogin { displayNSFW: boolean email: string videoQuota: number - author: { + account: { id: number uuid: string } @@ -208,7 +208,7 @@ export class AuthService { this.user.displayNSFW = res.displayNSFW this.user.role = res.role this.user.videoChannels = res.videoChannels - this.user.author = res.author + this.user.account = res.account this.user.save() } @@ -227,7 +227,7 @@ export class AuthService { displayNSFW: res.displayNSFW, email: res.email, videoQuota: res.videoQuota, - author: res.author, + account: res.account, videoChannels: res.videoChannels } @@ -245,7 +245,7 @@ export class AuthService { displayNSFW: obj.displayNSFW, videoQuota: obj.videoQuota, videoChannels: obj.videoChannels, - author: obj.author + account: obj.account } const hashTokens = { accessToken: obj.access_token, -- cgit v1.2.3