diff --git a/apps/dashboard/src/jobs/transactions.ts b/apps/dashboard/src/jobs/transactions.ts index 7a5b2acf48..2b2197465c 100644 --- a/apps/dashboard/src/jobs/transactions.ts +++ b/apps/dashboard/src/jobs/transactions.ts @@ -102,16 +102,12 @@ client.defineJob({ .single(); // Update bank account last_accessed - try { - await io.supabase.client - .from("bank_accounts") - .update({ - last_accessed: new Date().toDateString(), - }) - .eq("id", ctx.source.id); - } catch (err) { - await io.logger.info(err); - } + io.supabase.client + .from("bank_accounts") + .update({ + last_accessed: new Date(), + }) + .eq("id", ctx.source.id); if (!data) { await io.logger.error(`Bank account not found: ${ctx.source.id}`);