File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,13 +117,13 @@ if (innerEntityType.Equals(propName))
117117
118118- (<#=writer.GetStaticCodePrefix()#>URLSessionDataTask *)add<#=innerEntity.Name.ToUpperFirstChar()#>:(<#=innerEntityType#>*)<#=innerEntity.Name.ToLowerFirstChar()#> withCompletion:(<#=innerEntityType#>CompletionHandler)completionHandler
119119{
120- <#=writer.GetStaticCodePrefix()#>URLSessionDataTask *task = [self taskWithRequest:[self add<#=innerEntity.Name.ToUpperFirstChar()#>:<#=innerEntity.Name.ToLowerFirstChar()#>]
120+ <#=writer.GetStaticCodePrefix()#>URLSessionDataTask *sessionDataTask = [self taskWithRequest:[self add<#=innerEntity.Name.ToUpperFirstChar()#>:<#=innerEntity.Name.ToLowerFirstChar()#>]
121121 odObjectWithDictionary:^(NSDictionary *response){
122122 return [[<#=innerEntityType#> alloc] initWithDictionary:response];
123123 }
124124 completion:completionHandler];
125- [task execute];
126- return task ;
125+ [sessionDataTask execute];
126+ return sessionDataTask ;
127127}
128128
129129<#
You can’t perform that action at this time.
0 commit comments