From a3b35f81c9b81a69cf4665ea1711db1b4ed50225 Mon Sep 17 00:00:00 2001 From: Human HUMANOV Date: Sun, 10 Mar 2024 18:16:57 +0100 Subject: [PATCH] Fix documentation example: Cannot find name 'myPrismaClientInstance'. --- docs/pages/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index c548cb2..26ccba5 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -40,7 +40,7 @@ const prismaClient = new PrismaClient() const handler = async (req, res) => { const nextCrudHandler = await NextCrud({ adapter: new PrismaAdapter({ - prismaClient: myPrismaClientInstance, + prismaClient: prismaClient, }), })