Skip to content

Commit 451895c

Browse files
committed
formatting fixes
1 parent 81ea3d1 commit 451895c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

templates/node/base/requests/api.twig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
return await this.client.call('{{ method.method | caseLower }}', path, {
1+
await this.client.call('{{ method.method | caseLower }}', path, {
22
{% for parameter in method.parameters.header %}
33
'{{ parameter.name }}': ${{ parameter.name | caseCamel | escapeKeyword }},
44
{% endfor %}
55
{% for key, header in method.headers %}
66
'{{ key }}': '{{ header }}',
77
{% endfor %}
8-
}, payload{% if method.type == 'location' %}, 'arraybuffer'{% endif %}
9-
);
8+
}, payload{% if method.type == 'location' %}, 'arraybuffer'{% endif %});

templates/node/lib/services/service.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class {{ service.name | caseUcfirst }} extends Service {
6363
{% else %}
6464
{{ include('node/base/requests/api.twig') }}
6565
{% endif %}
66-
}
66+
}
6767
{% endfor %}
6868
}
6969

0 commit comments

Comments
 (0)