Skip to content

fix(webhook): remove invalid second argument from revalidateTag#156

Open
Logesh-Pro wants to merge 1 commit into
Vaibhav-kesarwani:mainfrom
Logesh-Pro:fix-webhook-revalidate
Open

fix(webhook): remove invalid second argument from revalidateTag#156
Logesh-Pro wants to merge 1 commit into
Vaibhav-kesarwani:mainfrom
Logesh-Pro:fix-webhook-revalidate

Conversation

@Logesh-Pro

@Logesh-Pro Logesh-Pro commented May 25, 2026

Copy link
Copy Markdown

Purpose of this PR

This PR resolves a critical build issue where the revalidateTag() function was being called with an extra argument inside the GitHub webhook route, causing compilation failures.

Changes Made

  • Modified app/api/github/webhook/route.ts on line 64.
  • Removed the invalid second argument "max" from revalidateTag(DASHBOARD_CACHE_TAG, "max") to follow with Next.js single-argument specifications.

Closes

Closes #154

@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

@Logesh-Pro is attempting to deploy a commit to the vaibhav's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid revalidateTag() call with extra argument - breaks build

1 participant