Fixing something else
parent
6fdf77555a
commit
c6267a455d
|
@ -16,7 +16,7 @@ export interface AccountInterface extends Document {
|
||||||
engineer: boolean
|
engineer: boolean
|
||||||
},
|
},
|
||||||
root: boolean
|
root: boolean
|
||||||
hash: boolean
|
hash: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const Account: Schema = new Schema({
|
const Account: Schema = new Schema({
|
||||||
|
@ -35,7 +35,7 @@ const Account: Schema = new Schema({
|
||||||
engineer: Boolean,
|
engineer: Boolean,
|
||||||
},
|
},
|
||||||
root: Boolean,
|
root: Boolean,
|
||||||
hash: Boolean,
|
hash: String,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default model<AccountInterface>('Account', Account);
|
export default model<AccountInterface>('Account', Account);
|
||||||
|
|
Loading…
Reference in New Issue