From 49e568414f3c574fad1c50b2ce8ca9a9da1342fd Mon Sep 17 00:00:00 2001 From: Caden Buckhalt Date: Mon, 3 Jun 2024 08:14:01 -0700 Subject: [PATCH] use dynamic key for revalidation in interview sync --- actions/interviews.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/interviews.ts b/actions/interviews.ts index 3e081f60..011ad406 100644 --- a/actions/interviews.ts +++ b/actions/interviews.ts @@ -255,7 +255,7 @@ export async function syncInterview(data: SyncInterview) { }, }); - revalidateTag('getInterviewById'); + revalidateTag(`getInterviewById-${id}`); // eslint-disable-next-line no-console console.log(`🚀 Interview synced with server! (${id})`);