Skip to content

Commit

Permalink
🎨 style: verion to version
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsun1031 committed Mar 18, 2023
1 parent 0287b15 commit f612c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/network/my_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ void setup_api() {
});

// [POST] http://cleaner/api/esp/verion- Get ESP32 version
server.on("/api/esp/verion", HTTP_POST, [] (AsyncWebServerRequest *request) {
server.on("/api/esp/version", HTTP_POST, [] (AsyncWebServerRequest *request) {
char *json_str = (char *)malloc( sizeof(char) * 70 );
if(json_str != NULL) {
sprintf(json_str,
Expand Down

0 comments on commit f612c12

Please sign in to comment.