From 942754f64a6731d4536fcc6c802b21a6752a70ae Mon Sep 17 00:00:00 2001 From: Bsian Date: Sun, 17 Nov 2019 01:13:59 +0000 Subject: [PATCH 1/2] Fixing smth --- src/models/Account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/Account.ts b/src/models/Account.ts index 16a5f51..f3d7fbe 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -16,7 +16,7 @@ export interface AccountInterface extends Document { engineer: boolean }, root: boolean - ssInit: boolean + hash: boolean } const Account: Schema = new Schema({ @@ -35,7 +35,7 @@ const Account: Schema = new Schema({ engineer: Boolean, }, root: Boolean, - ssInit: Boolean, + hash: Boolean, }); export default model('Account', Account); From c6267a455d52430e1ab592441c5cd44f4bedaf62 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sun, 17 Nov 2019 01:14:50 +0000 Subject: [PATCH 2/2] Fixing something else --- src/models/Account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/Account.ts b/src/models/Account.ts index f3d7fbe..3baa9f7 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -16,7 +16,7 @@ export interface AccountInterface extends Document { engineer: boolean }, root: boolean - hash: boolean + hash: string } const Account: Schema = new Schema({ @@ -35,7 +35,7 @@ const Account: Schema = new Schema({ engineer: Boolean, }, root: Boolean, - hash: Boolean, + hash: String, }); export default model('Account', Account);