add: commands
fix: timezone problem
This commit is contained in:
parent
0edb16a2d5
commit
10e41ca166
11 changed files with 209 additions and 21 deletions
endpoints
|
@ -244,6 +244,7 @@ api_v1_controllers_discover_POST(struct mg_connection *c, endpoint_args_t *args,
|
|||
discovered_controller->active = 1;
|
||||
|
||||
controller_save(discovered_controller);
|
||||
controller_free(discovered_controller);
|
||||
}
|
||||
mpack_tree_destroy(&tree);
|
||||
free(answer_payload);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue