summaryrefslogtreecommitdiff
path: root/Juick/APIClient.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-21 23:39:03 +0300
committerGravatar Vitaly Takmazov2019-03-21 23:39:03 +0300
commit6e49fc5c4273e7597925c133c3a6985b6ad85ecc (patch)
treeca5c8bac8e6bbe73d28db597be38840a4e88deca /Juick/APIClient.m
parent31cee12a4f5c2733965e99e2fa9add28fee266c2 (diff)
First RC
Diffstat (limited to 'Juick/APIClient.m')
-rw-r--r--Juick/APIClient.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/APIClient.m b/Juick/APIClient.m
index 44e7537..869e944 100644
--- a/Juick/APIClient.m
+++ b/Juick/APIClient.m
@@ -52,7 +52,7 @@
return _manager;
}
--(void) pullNextFromPath:(NSString *)path params:(NSDictionary *) params callback:(void(^)(NSArray *, NSError *))callback {
+-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *) params callback:(void(^)(NSArray<Message *> *, NSError *))callback {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self.backgroundQueue addOperationWithBlock:^{
[self.manager GET:path parameters:params progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {