Fix update_dashboard function

master
esensar 2018-09-23 15:29:15 +02:00
parent 624f9c2b41
commit ca329643f1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def update_dashboard(dashboard_id, dashboard_data):
""" """
dashboard = Dashboard.get(id=dashboard_id) dashboard = Dashboard.get(id=dashboard_id)
dashboard.dashboard_data = dashboard_data dashboard.dashboard_data = dashboard_data
dashboard_data.save() dashboard.save()
def get_dashboards(account_id): def get_dashboards(account_id):