Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MothScientist committed Dec 12, 2024
1 parent abe9543 commit 6a6fc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion budget_graph/db_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def get_group_transaction_uuid(self, group_id: int) -> str:
"budget_graph"."groups"
WHERE
"id" = %s::smallint""", (group_id,))
return str(cur.fetchone()[0])
return cur.fetchone()[0]

except (DatabaseError, TypeError) as err:
logger_database.error(f"[DB_QUERY] {str(err)}, "
Expand Down

0 comments on commit 6a6fc4b

Please sign in to comment.