adding move money scenario - still a bit rough but it works

This commit is contained in:
Joshua Smith
2025-03-26 13:21:13 -04:00
parent 4eeab32cb2
commit a3ec7b045a
7 changed files with 216 additions and 21 deletions

View File

@@ -17,8 +17,7 @@ def get_account_balance(args: dict) -> dict:
for account in account_list:
if account["email"] == account_key or account["account_id"] == account_key:
#return{"status": "account valid"}
return{ "name": account["name"], "email": account["email"], "account_id": account["account_id"], "checking_balance": account["checking_balance"], "savings_balance": account["savings_balance"], "bitcoin_balance": account["bitcoin_balance"], "account_creation_date": account["account_creation_date"] }
return_msg = "Account not found with email address " + email + " or account ID: " + account_id
return_msg = "Account not found with for " + account_key
return {"error": return_msg}