docs: updated id to _id (#10584)

This commit is contained in:
Davis Sylvester 2024-01-02 03:26:03 -06:00 committed by GitHub
parent 8b4df5b299
commit 7ecc8f3536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ import { Entity, ObjectId, ObjectIdColumn, Column } from "typeorm"
@Entity()
export class User {
@ObjectIdColumn()
id: ObjectId
_id: ObjectId
@Column()
firstName: string