1
0
Fork 0

Fixing something else

refactor/models
Bsian 2019-11-17 01:14:50 +00:00
parent 6fdf77555a
commit c6267a455d
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 2 additions and 2 deletions

View File

@ -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<AccountInterface>('Account', Account);