forked from loafle/openapi-generator-original
add missing assignment to task
This commit is contained in:
@@ -344,7 +344,7 @@ static NSString * {{classPrefix}}__fileNameForResponse(NSURLResponse *response)
|
||||
}];
|
||||
}
|
||||
else {
|
||||
[self taskWithCompletionBlock:request completionBlock:^(id data, NSError *error) {
|
||||
task = [self taskWithCompletionBlock:request completionBlock:^(id data, NSError *error) {
|
||||
NSError * serializationError;
|
||||
id response = [self.responseDeserializer deserialize:data class:responseType error:&serializationError];
|
||||
if(!response && !error){
|
||||
|
||||
Reference in New Issue
Block a user