From 54bfb7c3c28c654c117a2629239a0600059c9eeb Mon Sep 17 00:00:00 2001 From: Sergey Kuryanov Date: Tue, 10 Jul 2018 20:36:47 +0300 Subject: [PATCH] Replace deprecated mathods --- librato-iOS/Classes/LibratoClient.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librato-iOS/Classes/LibratoClient.m b/librato-iOS/Classes/LibratoClient.m index 8a8b9fd..e601ef2 100644 --- a/librato-iOS/Classes/LibratoClient.m +++ b/librato-iOS/Classes/LibratoClient.m @@ -173,7 +173,7 @@ - (void)getMetric:(NSString *)name options:(NSDictionary *)options } NSString *path = [NSString stringWithFormat:@"metrics/%@", name]; - [self GET:path parameters:query + [self GET:path parameters:query progress:nil success:^(NSURLSessionDataTask *task, id JSON) { if (success) { @@ -230,7 +230,7 @@ - (void)sendPayload:(NSDictionary *)payload withSuccess:(ClientSuccessBlock)succ [self.queue clear]; - [self POST:@"metrics" parameters:payload + [self POST:@"metrics" parameters:payload progress:nil success:^(NSURLSessionDataTask *task, id JSON) { if (success) {