We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33fb349 + dee3f1f commit 9811a6bCopy full SHA for 9811a6b
app/api/webhooks/sanity-revalidate/route.ts
@@ -7,7 +7,7 @@ export async function POST(request: NextRequest) {
7
const { isValidSignature, body } = await parseBody<{
8
_type: string;
9
slug?: string;
10
- }>(request, process.env.SANITY_REVALIDATE_SECRET);
+ }>(request, process.env.SANITY_WEBHOOK_SECRET);
11
12
if (!isValidSignature) {
13
return NextResponse.json(
0 commit comments