fix: controller discovery now called by PUT

This commit is contained in:
Tobias Reisinger 2020-09-06 13:19:10 +02:00
parent 4b39631765
commit b38c3d61d8
4 changed files with 5 additions and 5 deletions
include/endpoints

View file

@ -4,7 +4,7 @@
#include <router.h>
void
api_v1_controllers_discover_POST(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
api_v1_controllers_discover_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
void
api_v1_controllers_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);