From 46757b477c1adb5f98060d15998a3852e18902a6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Jun 2017 11:01:45 +0200 Subject: Fix client compilation --- 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 09722704a..d4695ab67 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts @@ -1,10 +1,10 @@ -import { User as UserServerModel } from '../../../../../shared'; +import { User as UserServerModel, UserRole } from '../../../../../shared'; export class User implements UserServerModel { id: number; username: string; email: string; - role: string; + role: UserRole; displayNSFW: boolean; createdAt: Date; @@ -12,7 +12,7 @@ export class User implements UserServerModel { id: number, username: string, email: string, - role: string, + role: UserRole, displayNSFW?: boolean, createdAt?: Date, }) { -- cgit v1.2.3