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);