[DEBUG] correct put return

This commit is contained in:
Edouard DUPIN 2020-01-20 23:21:05 +01:00
parent 66ecd70b16
commit 478aca33b5

View File

@ -186,6 +186,6 @@ def add(_app, _name_api):
return response.json(elem)
value["covers"].append(request.json["data_id"]);
data_global_elements.get_interface(_name_api).set(id, value)
return response.json(elem)
return response.json(value)
_app.blueprint(elem_blueprint)