Commit 2fc2f977 authored by Jacob Priddy's avatar Jacob Priddy 👌

add line to log incoming API request

parent a315b56f
Pipeline #12687 passed with stages
in 1 minute and 24 seconds
...@@ -99,6 +99,10 @@ void door_api_verify_code(const char* code, door_http_request_finished_cb on_fin ...@@ -99,6 +99,10 @@ void door_api_verify_code(const char* code, door_http_request_finished_cb on_fin
if (strlen(code) > MAX_CODE_COUNT) if (strlen(code) > MAX_CODE_COUNT)
goto error; goto error;
#ifdef DEBUG_LOGGING
ESP_LOGI("API", "New code verify request with code: %s", code);
#endif
// Copy endpoint string. // Copy endpoint string.
endpoint = malloc(sizeof(ACCESS_ENDPOINT)); endpoint = malloc(sizeof(ACCESS_ENDPOINT));
if (!endpoint) if (!endpoint)
......
1.0.2.0 1.0.2.1
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment