fix: Recon connection failed with new recon interface.

This commit is contained in:
sunwen
2024-05-28 11:30:09 +08:00
parent 03bf58f069
commit 885e971ada
3 changed files with 12 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ RequestResult ReconClient::Create(const Scan &aScan)
content.append(str);
free(str);
auto resp = mRequest.post(mHost + CREATE_URL, content, mHeaders);
if (resp.httpCode() == 201)
if (resp.httpCode() == 200)
{
return RequestResult::Success();
}