diff --git a/src/models/Account.ts b/src/models/Account.ts index 521897f..946b09d 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -3,7 +3,7 @@ import { fieldEncryption } from "mongoose-field-encryption"; import * as process from "process"; export interface IAccount { - id: ObjectId, + _id: ObjectId, username: string, email: string, password: string,