Skip to content

Commit

Permalink
revert change after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpollock committed Nov 20, 2024
1 parent 17f9a7c commit 3c847fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/openapi-generator/src/main/resources/r/api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@
{{/vendorExtensions.x-streaming}}
if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) {
if (is.raw(local_var_response$content)) {
return(local_var_response)
} else {
return(local_var_response$content)
}
return(local_var_response$content)
} else if (local_var_response$status_code >= 300 && local_var_response$status_code <= 399) {
return(local_var_response)
} else if (local_var_response$status_code >= 400 && local_var_response$status_code <= 499) {
Expand Down

0 comments on commit 3c847fb

Please sign in to comment.