aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-14 09:31:41 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit1e1265b36c09df1465aa2b4866815c957b6a532e (patch)
tree0ac1b7398c1c941fb653fd27fe037fadae24871d /client/src/app/shared/users
parent8e6964874990d5ee9d3703be71c6ab4617b9ce20 (diff)
downloadPeerTube-1e1265b36c09df1465aa2b4866815c957b6a532e.tar.gz
PeerTube-1e1265b36c09df1465aa2b4866815c957b6a532e.tar.zst
PeerTube-1e1265b36c09df1465aa2b4866815c957b6a532e.zip
Make the client compile too
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r--client/src/app/shared/users/user.model.ts6
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