Skip to content

Commit ca54e57

Browse files
committed
chore: remove append from native and web
1 parent f9c36fa commit ca54e57

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ export class {{ service.name | caseUcfirst }} extends Service {
7878
{% endfor %}
7979
{% endfor %}
8080
{% endif %}
81-
82-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
83-
uri.searchParams.append(key, value);
84-
}
8581
{% endif %}
8682
{% if method.type == 'webAuth' %}
8783
return uri;

templates/web/src/services/template.ts.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ export class {{ service.name | caseUcfirst }} {
7878
{%~ endfor %}
7979
{%~ endfor %}
8080
{%~ endif %}
81-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
82-
uri.searchParams.append(key, value);
83-
}
8481
{%~ endif %}
8582

8683
{%~ if method.type == 'webAuth' %}

0 commit comments

Comments
 (0)