From 98e2b9e74a6cb43ff477674f6acdad0d207a7e68 Mon Sep 17 00:00:00 2001 From: Federico Minaya Date: Sat, 16 Apr 2022 17:33:41 -0300 Subject: [PATCH] fix removed schemas from example --- examples/full-example/src/pages/api/auth/[...nextauth].ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/full-example/src/pages/api/auth/[...nextauth].ts b/examples/full-example/src/pages/api/auth/[...nextauth].ts index 4d0b75c..64a156d 100644 --- a/examples/full-example/src/pages/api/auth/[...nextauth].ts +++ b/examples/full-example/src/pages/api/auth/[...nextauth].ts @@ -15,13 +15,7 @@ const options: NextAuthOptions = { strategy: 'jwt' }, secret: 'any-secret-word', - adapter: SanityAdapter(client, { - schemas: { - verificationToken: 'verificationToken', - account: 'account', - user: 'user' - } - }) + adapter: SanityAdapter(client) }; export default NextAuth(options);