Skip to content

Commit dee3f1f

Browse files
committed
change revalidate secret
1 parent 8c4feb9 commit dee3f1f

File tree

1 file changed

+1
-1
lines changed
  • app/api/webhooks/sanity-revalidate

1 file changed

+1
-1
lines changed

app/api/webhooks/sanity-revalidate/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export async function POST(request: NextRequest) {
77
const { isValidSignature, body } = await parseBody<{
88
_type: string;
99
slug?: string;
10-
}>(request, process.env.SANITY_REVALIDATE_SECRET);
10+
}>(request, process.env.SANITY_WEBHOOK_SECRET);
1111

1212
if (!isValidSignature) {
1313
return NextResponse.json(

0 commit comments

Comments
 (0)