We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167c30f commit aba457bCopy full SHA for aba457b
templates/web/src/services/template.ts.twig
@@ -60,7 +60,7 @@ export class {{ service.name | caseUcfirst }} extends Service {
60
{% for parameter in method.parameters.query %}
61
if (typeof {% if parameter.isGlobal %}this.{% endif %}{{ parameter.name | caseCamel | escapeKeyword }} !== 'undefined') {
62
payload['{{ parameter.name }}'] = {% if method.type == 'graphql' %}JSON.stringify({% endif %}{% if parameter.isGlobal %}this.{% endif %}{{ parameter.name | caseCamel | escapeKeyword }}{% if method.type == 'graphql' %}){% endif %};
63
- %}
+ }
64
65
{% endfor %}
66
{% for parameter in method.parameters.body %}
0 commit comments