Add response to create_widget route
parent
ef3afdded1
commit
85f075e567
|
@ -111,6 +111,7 @@ def create_widget(dashboard_id, device_id, height, width, x, y,
|
||||||
widget = DashboardWidget(dashboard_id, device_id, height, width, x, y,
|
widget = DashboardWidget(dashboard_id, device_id, height, width, x, y,
|
||||||
chart_type, filters)
|
chart_type, filters)
|
||||||
widget.save()
|
widget.save()
|
||||||
|
return widget
|
||||||
|
|
||||||
|
|
||||||
def delete_widget(widget_id):
|
def delete_widget(widget_id):
|
||||||
|
|
Loading…
Reference in New Issue