Fixed bug introduced with previous commit: Response not returned by CMISHttpRequest
git-svn-id: https://svn.apache.org/repos/asf/chemistry/objectivecmis/trunk@1658411 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ObjectiveCMIS/Utils/CMISHttpRequest.m b/ObjectiveCMIS/Utils/CMISHttpRequest.m
index 3ad9575..e03a2bb 100644
--- a/ObjectiveCMIS/Utils/CMISHttpRequest.m
+++ b/ObjectiveCMIS/Utils/CMISHttpRequest.m
@@ -218,7 +218,7 @@
void (^completionBlock)(CMISHttpResponse *httpResponse, NSError *error);
completionBlock = self.completionBlock;
self.completionBlock = nil; // Prevent multiple execution if method on this request gets called inside completion block
- completionBlock(nil, cmisError);
+ completionBlock(httpResponse, cmisError);
});
}