Showing
2 changed files
with
4 additions
and
1 deletions
No preview for this file type
... | @@ -163,7 +163,10 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError * | ... | @@ -163,7 +163,10 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError * |
163 | NSLog(@"=== _sharedService: %@", _sharedService ); | 163 | NSLog(@"=== _sharedService: %@", _sharedService ); |
164 | //Launch Once | 164 | //Launch Once |
165 | if (_sharedService != nil) { | 165 | if (_sharedService != nil) { |
166 | - // TODO: Maybe add failure callback here? - msg: "already launched" | 166 | + NSDictionary* successCallback = [[NSMutableDictionary alloc] init]; |
167 | + [successCallback setValue:@1 forKey:@"status"]; | ||
168 | + [successCallback setValue:@"success: already launched" forKey:@"msg"]; | ||
169 | + success(successCallback); | ||
167 | return; | 170 | return; |
168 | } | 171 | } |
169 | 172 | ... | ... |
-
Please register or login to post a comment