Skip to content

Commit e9a173b

Browse files
committed
Fix typo
1 parent 16d867e commit e9a173b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

templates/deno/src/services/service.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class {{ service.name | caseUcfirst }} extends Service {
114114
{% for key, header in method.headers %}
115115
'{{ key }}': '{{ header }}',
116116
{% endfor %}
117-
{% if method.type == 'grahpql' %}
117+
{% if method.type == 'graphql' %}
118118
'x-{{ spec.title }}-graphql-packed': 'true',
119119
{% endif %}
120120
};

templates/go/services/service.go.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (srv *{{ service.name | caseUcfirst }}) {{ method.name | caseUcfirst }}({%
4747
{% for key, header in method.headers %}
4848
"{{ key }}": "{{ header }}",
4949
{% endfor %}
50-
{% if method.type == 'grahpql' %}
50+
{% if method.type == 'graphql' %}
5151
"x-{{ spec.title }}-graphql-packed": "true",
5252
{% endif %}
5353
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class {{ service.name | caseUcfirst }} extends Service {
9191
{% for key, header in method.headers %}
9292
'{{ key }}': '{{ header }}',
9393
{% endfor %}
94-
{% if method.type == 'grahpql' %}
94+
{% if method.type == 'graphql' %}
9595
'x-{{ spec.title }}-graphql-packed': 'true',
9696
{% endif %}
9797
};

templates/php/base/requests/graphql.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% for key, header in method.headers %}
66
'{{ key }}' => '{{ header }}',
77
{% endfor %}
8-
{% if method.type == 'grahpql' %}
8+
{% if method.type == 'graphql' %}
99
'x-{{ spec.title }}-graphql-packed': 'true',
1010
{% endif %}
1111
], $params);

templates/python/package/services/service.py.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class {{ service.name | caseUcfirst }}(Service):
7272
{% for key, header in method.headers %}
7373
'{{ key }}': '{{ header }}',
7474
{% endfor %}
75-
{% if method.type == 'grahpql' %}
75+
{% if method.type == 'graphql' %}
7676
'x-{{ spec.title }}-graphql-packed': 'true',
7777
{% endif %}
7878
}, params, param_name, on_progress, upload_id)
@@ -85,7 +85,7 @@ class {{ service.name | caseUcfirst }}(Service):
8585
{% for key, header in method.headers %}
8686
'{{ key }}': '{{ header }}',
8787
{% endfor %}
88-
{% if method.type == 'grahpql' %}
88+
{% if method.type == 'graphql' %}
8989
'x-{{ spec.title }}-graphql-packed': 'true',
9090
{% endif %}
9191
}, params)

templates/ruby/lib/container/services/service.rb.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module {{spec.title | caseUcfirst}}
5151
{% for key, header in method.headers %}
5252
"{{ key }}": '{{ header }}',
5353
{% endfor %}
54-
{% if method.type == 'grahpql' %}
54+
{% if method.type == 'graphql' %}
5555
"x-{{ spec.title }}-graphql-packed": "true",
5656
{% endif %}
5757
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class {{ service.name | caseUcfirst }} extends Service {
124124
{% for key, header in method.headers %}
125125
'{{ key }}': '{{ header }}',
126126
{% endfor %}
127-
{% if method.type == 'grahpql' %}
127+
{% if method.type == 'graphql' %}
128128
'x-{{ spec.title }}-graphql-packed': 'true',
129129
{% endif %}
130130
}

0 commit comments

Comments
 (0)