fix: use updateTag for teams list cache invalidation (#28892)

This commit is contained in:
Pedro Castro
2026-04-15 00:55:05 +05:30
committed by GitHub
parent 7b6572b965
commit f4edb696c0
@@ -1,7 +1,7 @@
"use server";
import { revalidateTag } from "next/cache";
import { updateTag } from "next/cache";
export async function revalidateTeamsList() {
revalidateTag("viewer.teams.list", "max");
updateTag("viewer.teams.list");
}