We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f891475 commit 5c43d4eCopy full SHA for 5c43d4e
apps/nextjs/pages/api/wordpress/revalidate.ts
@@ -25,7 +25,7 @@ export default async function revalidate(
25
if (req.query.token !== process.env.PREVIEW_SECRET_TOKEN) {
26
return res
27
.status(401)
28
- .json({message: 'Invalid revalidate token. Please check your .env file.'})
+ .json({message: 'Invalid token. Please check your .env file.'})
29
}
30
31
// No slug? Bail...
0 commit comments