Updated the id field in the Project.ts model

This commit is contained in:
2023-01-15 20:30:40 +01:00
parent fc1a6f7605
commit a23f974f43

View File

@@ -1,7 +1,7 @@
import {model, ObjectId, Schema} from "mongoose"; import {model, ObjectId, Schema} from "mongoose";
export interface IProject { export interface IProject {
id: ObjectId, _id: ObjectId,
name: string name: string
} }