Skip to content

Commit

Permalink
use dynamic key for revalidation in interview sync
Browse files Browse the repository at this point in the history
  • Loading branch information
buckhalt committed Jun 3, 2024
1 parent b188afa commit 49e5684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/interviews.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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})`);
Expand Down

0 comments on commit 49e5684

Please sign in to comment.