void AsyncFSWebServer::handleFileDelete(AsyncWebServerRequest *request) {
if (!checkAuth(request))
return request->requestAuthentication();
if (request->args() == 0) return request->send(500, "text/plain", "BAD ARGS");
String path = request->arg(0);
DEBUGLOG("handleFileDelete: %s\r\n", path.c_str());
----
sketch\FSWebServerLib.cpp: In member function 'void AsyncFSWebServer::handleFileCreate(AsyncWebServerRequest*)':
FSWebServerLib.cpp:571: error: call of overloaded 'arg(int)' is ambiguous
String path = request->arg(0);
^
Comments