Skip to content

Commit 0d6a9c0

Browse files
committed
Fix build
1 parent 8f6f63d commit 0d6a9c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/app/src/app/api/onchain-actions/v1/earn/revalidate-action

packages/app/src/app/api/onchain-actions/v1/earn/revalidate-action/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export async function POST(request: NextRequest) {
5858
);
5959
}
6060

61-
for (const tag of earnCacheTags.userAction(userAddress, opportunityId)) revalidateTag(tag);
61+
for (const tag of earnCacheTags.userAction(userAddress, opportunityId)) {
62+
revalidateTag(tag, 'max');
63+
}
6264

6365
return NextResponse.json(
6466
{ revalidated: true },

0 commit comments

Comments
 (0)