Skip to content

Commit

Permalink
examples: fix with-mongodb-mongoose path
Browse files Browse the repository at this point in the history
  • Loading branch information
Marukome0743 committed Oct 23, 2024
1 parent 96d6a96 commit 38e6943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cms-payload/payload/payloadClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (!process.env.PAYLOAD_SECRET) {
* in development. This prevents connections growing exponentially
* during API Route usage.
*
* Source: https://github.com/vercel/next.js/blob/canary/examples/with-mongodb-mongoose/lib/dbConnect.js
* Source: https://github.com/vercel/next.js/blob/canary/examples/with-mongodb-mongoose/lib/dbConnect.ts
*/
let cached = (global as any).payload;

Expand Down

0 comments on commit 38e6943

Please sign in to comment.