Continue development of new transaction page

This commit is contained in:
Lucas Mathews
2024-06-02 23:18:46 +02:00
parent aa865e008d
commit 1e95d2b605
7 changed files with 36 additions and 33 deletions

View File

@@ -261,7 +261,6 @@ def get_account(account_id:str):
account = session.query(Account).filter_by(account_id=account_id).one_or_none()
for account in session.query(Account).all():
if account.account_id == account_id:
print(account.to_dict())
return format_response(True, "", account.to_dict()), 200
return format_response(False, "Account not found."), 404