NETWORKING: Remove unnesessary check
This commit is contained in:
parent
c4d62cedf9
commit
7533375b55
1 changed files with 0 additions and 7 deletions
|
@ -103,13 +103,6 @@ void PostRequest::responseCallback(Networking::JsonResponse response) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!json->isObject()) {
|
||||
error.response = "Passed JSON is not an object!";
|
||||
finishError(error);
|
||||
delete json;
|
||||
return;
|
||||
}
|
||||
|
||||
finishSuccess();
|
||||
|
||||
if (_jsonCallback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue