Revert "add retryWrites w=majority"

This reverts commit a1e49bf9e4.
This commit is contained in:
Thomas Ruoff
2022-06-21 22:57:14 +02:00
parent a1e49bf9e4
commit 35fd73280a

View File

@@ -7,7 +7,7 @@ import { uniqueFilter } from '../helpers/array'
let connectedPromise: Promise<mongoose.Mongoose>
export const MONGODB_URI = `${process.env.MONGODB_URI}?retryWrites=true&w=majority`
export const MONGODB_URI = process.env.MONGODB_URI
export function connect(): Promise<mongoose.Mongoose> {
if (connectedPromise) {