From 93c80af9c29fd30ba4f0a3c7be97960aa56d9fbc Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 15 Jun 2025 22:26:39 +0000 Subject: [PATCH] Fix: Use 'login' column for transaction email lookup The application was incorrectly searching for transactions using the 'email' column instead of the 'login' column. This commit corrects the query to use the 'login' column, which is the correct identifier for the user's email in the 'transacoes' table. --- .../transacao/transacaoFetchService.ts | 49 ++----------------- 1 file changed, 3 insertions(+), 46 deletions(-) diff --git a/src/services/transacao/transacaoFetchService.ts b/src/services/transacao/transacaoFetchService.ts index 5262c88..297660c 100644 --- a/src/services/transacao/transacaoFetchService.ts +++ b/src/services/transacao/transacaoFetchService.ts @@ -28,51 +28,8 @@ export async function getTransacoes(monthFilter?: string): Promise