feat(chalice): changed update dashboard response

This commit is contained in:
Taha Yassine Kraiem 2023-02-02 13:09:32 +01:00
parent 1a62b9d11f
commit b02c4dcb80

View file

@ -135,7 +135,7 @@ def update_dashboard(project_id, user_id, dashboard_id, data: schemas.EditDashbo
cur.execute(cur.mogrify(pg_query, params))
return get_dashboard(project_id=project_id, user_id=user_id, dashboard_id=dashboard_id)
return {"success": True}
def get_widget(project_id, user_id, dashboard_id, widget_id):