From c3c524724e8819741354b74343acfb2296da8466 Mon Sep 17 00:00:00 2001 From: zwitschi Date: Mon, 1 Jun 2026 15:45:21 +0200 Subject: [PATCH] fix: Correctly assign alerts_last_channel_results in dashboard controls --- src/arbitrade/api/routes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/arbitrade/api/routes.py b/src/arbitrade/api/routes.py index 6ec3344..627cb31 100644 --- a/src/arbitrade/api/routes.py +++ b/src/arbitrade/api/routes.py @@ -316,9 +316,7 @@ def _dashboard_controls(request: Request) -> dict[str, object]: "alerts_last_success_at": str(alert_status.get("last_success_at") or "—"), "alerts_last_event_title": last_event_title, "alerts_last_error": str(alert_status.get("last_error") or "—"), - "alerts_last_channel_results": [ - str(item) for item in cast(list[object], alert_status.get("last_channel_results", [])) - ], + "alerts_last_channel_results": alerts_last_channel_results, "tradable_pairs_display": tpd, "tradable_pairs_value": ", ".join(ctl.tradable_pairs), "strategy_mode": ctl.strategy_mode,