add: new commands to controller
This commit is contained in:
parent
b969ddd4ff
commit
dd9e533f22
12 changed files with 127 additions and 62 deletions
src/endpoints
|
@ -147,7 +147,7 @@ api_v1_controllers_STR_PUT(struct mg_connection *nc, struct http_message *hm, en
|
|||
cJSON_Delete(json);
|
||||
json = controller_to_json(controller);
|
||||
|
||||
command_set_controller_name(controller);
|
||||
command_controller_name_set(controller);
|
||||
|
||||
endpoint_response_json(response, 200, json);
|
||||
cJSON_Delete(json);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue