Fix error not being shown when failing to verify SMS code

This commit is contained in:
David Deller 2014-11-22 17:05:57 -05:00 committed by Frederic Jacobs
parent e48ea52924
commit 60ceaab70d

View file

@ -73,8 +73,7 @@
[[TSNetworkManager sharedManager] queueAuthenticatedRequest:[[TSRegisterForPushRequest alloc] initWithPushIdentifier:stringToken] success:^(NSURLSessionDataTask *task, id responseObject) {
success();
} failure:^(NSURLSessionDataTask *task, NSError *error) {
} failure:^(NSURLSessionDataTask *task, NSError *error) {
NSLog(@"NSError: %@", error.debugDescription);
TSRegistrationFailure failureType = kTSRegistrationFailureNetwork;