diff --git a/conf/scala/templates/ResourceObject.st b/conf/scala/templates/ResourceObject.st index c85ff48f458..2cea5cc4a62 100644 --- a/conf/scala/templates/ResourceObject.st +++ b/conf/scala/templates/ResourceObject.st @@ -109,7 +109,7 @@ $if(method.hasResponseValue)$ $if(method.postObject)$ val response = apiInvoker.invokeAPI(resourcePath, method, queryParams, postData, headerParams) $else$ - val response = apiInvoker.getApiInvoker.invokeAPI(resourcePath, method, queryParams, null, headerParams) + val response = apiInvoker.invokeAPI(resourcePath, method, queryParams, null, headerParams) $endif$ $else$ $if(method.postObject)$