From e2941eb850762c27cb6a41e861a5ca939c045885 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 15 Jan 2023 20:31:01 +0100 Subject: [PATCH] Updated the id field in the Account.ts model --- src/models/Account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,