chore: run lint & prettier on everything
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
import type { ConnectOptions } from 'mongoose'
|
||||
import mongoose from 'mongoose'
|
||||
import type { Connect } from 'payload/database'
|
||||
|
||||
import mongoose from 'mongoose'
|
||||
|
||||
import type { MongooseAdapter } from './index.js'
|
||||
|
||||
export const connect: Connect = async function connect(
|
||||
@@ -36,8 +37,6 @@ export const connect: Connect = async function connect(
|
||||
|
||||
const client = this.connection.getClient()
|
||||
|
||||
|
||||
|
||||
if (!client.options.replicaSet) {
|
||||
this.transactionOptions = false
|
||||
this.beginTransaction = undefined
|
||||
|
||||
Reference in New Issue
Block a user