diff --git a/apps/dashboard/src/jobs/transactions.ts b/apps/dashboard/src/jobs/transactions.ts index 46609b9f66..7a5b2acf48 100644 --- a/apps/dashboard/src/jobs/transactions.ts +++ b/apps/dashboard/src/jobs/transactions.ts @@ -143,7 +143,7 @@ client.defineJob({ revalidateTag(`transactions_${data?.team_id}`); revalidateTag(`spending_${data?.team_id}`); revalidateTag(`metrics_${data?.team_id}`); - revalidateTag(`bank_accounts_${teamId}`); + revalidateTag(`bank_accounts_${data?.team_id}`); } if (error) {