Skip to content

Commit 9973cd6

Browse files
committed
chore: fix formatting mistakes
1 parent 7eab876 commit 9973cd6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/react-native/src/services/template.ts.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ export class {{ service.name | caseUcfirst }} extends Service {
173173
{% endif %}
174174
}
175175
{% endfor %}
176-
177176
{# Extra methods for just getting the URL of 'location' type methods #}
178177
{% for method in service.methods %}
179178
{% if method.type == 'location' %}
@@ -188,7 +187,6 @@ export class {{ service.name | caseUcfirst }} extends Service {
188187
{% endfor %}
189188
* @throws {{ '{' }}{{ spec.title | caseUcfirst}}Exception}
190189
* @returns {{ '{' }}URL{{ '}' }}
191-
192190
*/
193191
{{ method.name | caseCamel }}URL({% for parameter in method.parameters.all %}{{ parameter.name | caseCamel | escapeKeyword }}{% if not parameter.required or parameter.nullable %}?{% endif %}: {{ parameter | getPropertyType(method) | raw }}{% if not loop.last %}, {% endif %}{% endfor %}{% if 'multipart/form-data' in method.consumes %}, onProgress = (progress: UploadProgress) => {}{% endif %}): URL {
194192
const apiPath = '{{ method.path }}'{% for parameter in method.parameters.path %}.replace('{{ '{' }}{{ parameter.name | caseCamel | escapeKeyword }}{{ '}' }}', {{ parameter.name | caseCamel | escapeKeyword }}){% endfor %};

0 commit comments

Comments
 (0)