From 9466ae387a9a099fec60908a262e4a91c1aae448 Mon Sep 17 00:00:00 2001 From: Stephan Diederich Date: Thu, 26 Sep 2013 16:00:28 +0200 Subject: [PATCH] remove assertion it's actually OK and handled if response is nil --- Classes/BITAuthenticator.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Classes/BITAuthenticator.m b/Classes/BITAuthenticator.m index 263f2a1c72..5d973c705e 100644 --- a/Classes/BITAuthenticator.m +++ b/Classes/BITAuthenticator.m @@ -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