Skip to content

Commit 6356386

Browse files
committed
handles unstructured errors on redirect URLs
1 parent 13d59e3 commit 6356386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ - (NSString *)reCAPTCHATokenForURL:(NSURL *)URL error:(NSError **)error {
267267
if(errorDict[@"code"] && errorDict[@"message"]) {
268268
reason = [NSString stringWithFormat:@"[%@] - %@",errorDict[@"code"], errorDict[@"message"]];
269269
} else {
270-
reason = [NSString StringWithFormat:@"An unknown error occurred with the following "
271-
"response: %@", deepLinkURL];
270+
reason = [NSString stringWithFormat:@"An unknown error occurred with the following "
271+
"response: %@", deepLinkURL];
272272
}
273273
*error = [FIRAuthErrorUtils appVerificationUserInteractionFailureWithReason:reason];
274274
}

0 commit comments

Comments
 (0)