From 5eaa23f4af0c0de3315f0fadddc4353e9bc821d5 Mon Sep 17 00:00:00 2001 From: Giuseppe Nucifora Date: Tue, 19 Apr 2016 16:43:46 +0200 Subject: [PATCH] - Fix bug in get method --- PNObject.podspec | 2 +- Pod/Classes/PNObject+PNObjectConnection.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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