Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Commit ce3ae4b

Browse files
authored
fix: Remove unsupported argument.
1 parent 62b3a27 commit ce3ae4b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hoc/withConnect.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import mongoose from 'mongoose';
33
const withConnect = (handler) => async (req, res) => {
44
if (!mongoose.connection.readyState) {
55
mongoose.connect(process.env.MONGODB as string, {
6-
useNewUrlParser: true,
76
useUnifiedTopology: true,
87
useFindAndModify: false,
98
useCreateIndex: true

0 commit comments

Comments
 (0)