Fix update_dashboard function
parent
624f9c2b41
commit
ca329643f1
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue