fix: Recon connection failed with new recon interface.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user