We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6f63d commit 0d6a9c0Copy full SHA for 0d6a9c0
1 file changed
packages/app/src/app/api/onchain-actions/v1/earn/revalidate-action/route.ts
@@ -58,7 +58,9 @@ export async function POST(request: NextRequest) {
58
);
59
}
60
61
- for (const tag of earnCacheTags.userAction(userAddress, opportunityId)) revalidateTag(tag);
+ for (const tag of earnCacheTags.userAction(userAddress, opportunityId)) {
62
+ revalidateTag(tag, 'max');
63
+ }
64
65
return NextResponse.json(
66
{ revalidated: true },
0 commit comments