mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-03 15:06:58 +00:00
remove assertion
it's actually OK and handled if response is nil
This commit is contained in:
@@ -397,7 +397,6 @@ static NSString* const kBITAuthenticatorAuthTokenTypeKey = @"BITAuthenticatorAut
|
||||
}
|
||||
|
||||
+ (NSString *) authenticationTokenFromURLResponse:(NSHTTPURLResponse*) urlResponse data:(NSData*) data error:(NSError **) error {
|
||||
NSParameterAssert(urlResponse);
|
||||
if(nil == urlResponse) {
|
||||
if(error) {
|
||||
*error = [NSError errorWithDomain:kBITAuthenticatorErrorDomain
|
||||
|
||||
Reference in New Issue
Block a user