Skip to content

Commit

Permalink
chore: remove client
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Oct 14, 2024
1 parent 9481329 commit 356d2d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/foundation/app/api/revalidate/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createRevalidateHandler } from '@session/sanity-cms/api/revalidate';
import { client } from '@/lib/sanity/sanity.client';
import { SANITY_SCHEMA_URL } from '@/lib/constants';

const SANITY_REVALIDATE_SECRET = process.env.SANITY_REVALIDATE_SECRET!;
Expand All @@ -9,7 +8,6 @@ if (!SANITY_REVALIDATE_SECRET) {

export const { POST } = createRevalidateHandler({
revalidateSecret: SANITY_REVALIDATE_SECRET,
client: client,
schemaUrls: {
page: SANITY_SCHEMA_URL.PAGE,
post: SANITY_SCHEMA_URL.POST,
Expand Down

0 comments on commit 356d2d1

Please sign in to comment.