diff --git a/PNObject.podspec b/PNObject.podspec index de05dea..03a9a1f 100644 --- a/PNObject.podspec +++ b/PNObject.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "PNObject" -s.version = "0.7.0" +s.version = "0.7.1" s.summary = "PNObject is a simple replica of the more complex ParseObject" # This description is used to generate tags and improve search results. diff --git a/Pod/Classes/PNObject+PNObjectConnection.m b/Pod/Classes/PNObject+PNObjectConnection.m index 3db0f76..bde79fa 100644 --- a/Pod/Classes/PNObject+PNObjectConnection.m +++ b/Pod/Classes/PNObject+PNObjectConnection.m @@ -33,7 +33,7 @@ success:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSDictionary * _Nullable responseObject))success failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error))failure { - return [self GETWithEndpointAction:endPoint parameters:nil retries:MAX_RETRIES progress:downloadProgress success:success failure:failure]; + return [self GETWithEndpointAction:endPoint parameters:parameters retries:MAX_RETRIES progress:downloadProgress success:success failure:failure]; } + (void) GETWithEndpointAction:(NSString * _Nonnull) endPoint