Skip to content

Commit 6d5b35f

Browse files
committed
chore: remove unwanted project being added to payload in web
1 parent bc91882 commit 6d5b35f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ export class {{ service.name | caseUcfirst }} {
6868
{%~ endfor %}
6969
}
7070

71-
{%~ for node in method.auth %}
72-
{%~ for key,header in node|keys %}
73-
payload['{{header|caseLower}}'] = this.client.config.{{header|caseLower}};
74-
{%~ endfor %}
75-
{%~ endfor %}
76-
7771
{%~ if method.type == 'location' or method.type == 'webAuth' %}
7872
for (const [key, value] of Object.entries(Service.flatten(payload))) {
7973
uri.searchParams.append(key, value);

0 commit comments

Comments
 (0)