Skip to content

Commit 7122284

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 94d9621 commit 7122284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WebRequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ bool AsyncWebServerRequest::_parseReqHead() {
315315
_temp = _temp.substring(index + 1);
316316

317317
_method = asyncsrv::stringToMethod(m);
318-
if (_method == HTTP_INVALID) {
318+
if (_method == AsyncWebRequestMethod::HTTP_INVALID) {
319319
return false;
320320
}
321321

0 commit comments

Comments
 (0)