Skip to content

Commit

Permalink
Replace deprecated mathods
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyKuryanov committed Jul 10, 2018
1 parent 3aaff58 commit 54bfb7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librato-iOS/Classes/LibratoClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 54bfb7c

Please sign in to comment.