Skip to content

Commit 5c43d4e

Browse files
committed
update comment
1 parent f891475 commit 5c43d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/nextjs/pages/api/wordpress/revalidate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default async function revalidate(
2525
if (req.query.token !== process.env.PREVIEW_SECRET_TOKEN) {
2626
return res
2727
.status(401)
28-
.json({message: 'Invalid revalidate token. Please check your .env file.'})
28+
.json({message: 'Invalid token. Please check your .env file.'})
2929
}
3030

3131
// No slug? Bail...

0 commit comments

Comments
 (0)