From 3e5cb72d56c5fbb6b49308a98f64f188c13578ef Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 2 Feb 2023 10:36:24 +0100 Subject: [PATCH] feat(chalice): removed series from get-dashboard response --- api/chalicelib/core/dashboards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/chalicelib/core/dashboards.py b/api/chalicelib/core/dashboards.py index 5cabb8bae..1aa2c99ee 100644 --- a/api/chalicelib/core/dashboards.py +++ b/api/chalicelib/core/dashboards.py @@ -76,8 +76,8 @@ def get_dashboard(project_id, user_id, dashboard_id): w["edited_at"] = TimeUTC.datetime_to_timestamp(w["edited_at"]) w["config"]["col"] = w["default_config"]["col"] w["config"]["row"] = w["default_config"]["row"] - for s in w["series"]: - s["created_at"] = TimeUTC.datetime_to_timestamp(s["created_at"]) + # for s in w["series"]: + # s["created_at"] = TimeUTC.datetime_to_timestamp(s["created_at"]) return helper.dict_to_camel_case(row)