fix: all the bugs with the new database and commanding
This commit is contained in:
parent
dd9e533f22
commit
0eef646fe0
5 changed files with 45 additions and 17 deletions
src/endpoints
|
@ -270,7 +270,6 @@ api_v1_controllers_STR_relays_INT_PUT(struct mg_connection *nc, struct http_mess
|
|||
cJSON_Delete(json);
|
||||
json = relay_to_json(relay);
|
||||
|
||||
LOGGER_DEBUG("commanding schedules");
|
||||
command_relay_schedules_set(relay);
|
||||
|
||||
endpoint_response_json(response, 200, json);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue