aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/networking/curl/postrequest.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/networking/curl/postrequest.cpp b/backends/networking/curl/postrequest.cpp
index 5e0bc1aa88..54a8fba5ea 100644
--- a/backends/networking/curl/postrequest.cpp
+++ b/backends/networking/curl/postrequest.cpp
@@ -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)