Skip to content

Commit f4edb69

Browse files
authored
fix: use updateTag for teams list cache invalidation (calcom#28892)
1 parent 7b6572b commit f4edb69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/web/app/(use-page-wrapper)/(main-nav)/teams
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use server";
22

3-
import { revalidateTag } from "next/cache";
3+
import { updateTag } from "next/cache";
44

55
export async function revalidateTeamsList() {
6-
revalidateTag("viewer.teams.list", "max");
6+
updateTag("viewer.teams.list");
77
}

0 commit comments

Comments
 (0)