diff --git a/docs/authentication/using-middleware.mdx b/docs/authentication/using-middleware.mdx index c4e7f35bee..f5269f94e1 100644 --- a/docs/authentication/using-middleware.mdx +++ b/docs/authentication/using-middleware.mdx @@ -31,7 +31,6 @@ const app = express() const start = async () => { await payload.init({ secret: 'PAYLOAD_SECRET_KEY', - mongoURL: 'mongodb://localhost/payload', express: app, }) diff --git a/docs/local-api/overview.mdx b/docs/local-api/overview.mdx index 21f3254d2a..258f627fa6 100644 --- a/docs/local-api/overview.mdx +++ b/docs/local-api/overview.mdx @@ -417,7 +417,6 @@ const { PAYLOAD_SECRET, MONGODB_URI } = process.env const doAction = async (): Promise => { await payload.init({ secret: PAYLOAD_SECRET, - mongoURL: MONGODB_URI, local: true, // Enables local mode, doesn't spin up a server or frontend })