feat(chalice): removed series from get-dashboard response

This commit is contained in:
Taha Yassine Kraiem 2023-02-02 10:36:24 +01:00
parent 6126e2bce6
commit 3e5cb72d56

View file

@ -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)