feat: Add CI workflow for running tests and update database URL handling
Some checks failed
Build and Push Docker Image / build-and-push (push) Successful in 1m8s
Deploy to Server / deploy (push) Failing after 2s
Run Tests / test (push) Failing after 9m32s

This commit is contained in:
2025-10-24 19:19:24 +02:00
parent 28fea1f3fe
commit f35607fedc
6 changed files with 28 additions and 18 deletions

View File

@@ -148,6 +148,8 @@ def _load_currencies(db: Session) -> Dict[str, Any]:
for c in db.query(Currency).filter_by(is_active=True).order_by(Currency.code).all():
items.append(
{"id": c.code, "name": f"{c.name} ({c.code})", "symbol": c.symbol})
if not items:
items.append({"id": "USD", "name": "US Dollar (USD)", "symbol": "$"})
return {"currency_options": items}