Skip to content

Commit

Permalink
fix: ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Mar 8, 2024
1 parent ecc7c23 commit 7484916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ruby/base/requests/api.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
params: api_params,
{%~ if method.type == "webAuth" %}
response_type: "location"
{%~ elseif method.responseModel is defined and method.responseModel != 'any' %}
{%~ elseif method.responseModel and method.responseModel != 'any' %}
response_type: Models::{{ method.responseModel | caseUcfirst }}
{%~ endif %}
)

0 comments on commit 7484916

Please sign in to comment.