Skip to content

Commit 3a3dc5a

Browse files
committed
Remove redundant changes
1 parent bc3b5a5 commit 3a3dc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/swift/Sources/Services/Service.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ open class {{ service.name | caseUcfirst }}: Service {
4040
{{include('swift/base/requests/location.twig')}}
4141
{% else %}
4242
{% if 'multipart/form-data' in method.consumes %}var{% else %}let{% endif %} headers: [String: String] = [
43-
{{ method.headers|map((header, key) => " \"#{key}\": \"#{header}\"")|join(',\n')|raw }}{% if method.type == "graphql" %}
43+
{{ method.headers|map((header, key) => " \"#{key}\": \"#{header}\"")|join(',\n')|raw }}
4444
]
4545
{% if method.responseModel %}
4646
let converter: ([String: Any]) -> {{ _self.resultType(spec, method) }} = { dict in

0 commit comments

Comments
 (0)