remove assertion

it's actually OK and handled if response is nil
This commit is contained in:
Stephan Diederich
2013-09-26 16:00:28 +02:00
parent ae1bbe67b0
commit 9466ae387a

View File

@@ -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