fix: fixed improper imports in auth module

This commit is contained in:
Balu Babu
2023-01-09 18:56:40 +05:30
parent 32765b2d34
commit 90bc0483ae
8 changed files with 19 additions and 11 deletions

View File

@@ -26,14 +26,12 @@ export class User {
image?: string;
@Field({
nullable: true,
description: 'Flag to determine if user is an Admin or not',
})
isAdmin?: string;
isAdmin: boolean;
@Field({
nullable: true,
description: 'Date when the user account was created',
})
createdOn?: string;
createdOn: Date;
}