From ca329643f1810c30d21c37696f99b74f231a0a8b Mon Sep 17 00:00:00 2001 From: esensar Date: Sun, 23 Sep 2018 15:29:15 +0200 Subject: [PATCH] Fix update_dashboard function --- app/dashboard/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/__init__.py b/app/dashboard/__init__.py index 384578e..90f4499 100644 --- a/app/dashboard/__init__.py +++ b/app/dashboard/__init__.py @@ -43,7 +43,7 @@ def update_dashboard(dashboard_id, dashboard_data): """ dashboard = Dashboard.get(id=dashboard_id) dashboard.dashboard_data = dashboard_data - dashboard_data.save() + dashboard.save() def get_dashboards(account_id):