From 8f86b7da96ea18cbfd6b94345ab062c1f7fdb2a0 Mon Sep 17 00:00:00 2001 From: King Wang Date: Tue, 29 Jun 2021 00:46:10 +0800 Subject: [PATCH] import from mongodb --- examples/mongodb-crud/backend/src/models/dbItems/DbPost.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mongodb-crud/backend/src/models/dbItems/DbPost.ts b/examples/mongodb-crud/backend/src/models/dbItems/DbPost.ts index 7d535e5..f7585bd 100644 --- a/examples/mongodb-crud/backend/src/models/dbItems/DbPost.ts +++ b/examples/mongodb-crud/backend/src/models/dbItems/DbPost.ts @@ -1,4 +1,4 @@ -import { ObjectID } from "bson"; +import { ObjectID } from "mongodb"; import { Overwrite } from "tsrpc"; import { Post } from "../../shared/protocols/models/Post";