Skip to content

Commit 32643f0

Browse files
committed
Fix syntax errors
1 parent b40e642 commit 32643f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ open class {{ service.name | caseUcfirst }}: Service {
3131
{%~ if 'multipart/form-data' in method.consumes %}
3232
onProgress: ((UploadProgress) -> Void)? = nil
3333
{%~ endif %}
34-
){%~ if not method.type == "webAuth" %} async{% endif %} throws -> {{ method | returnType(spec) | raw }} {
34+
){%~ if method.type != "webAuth" %} async{% endif %} throws -> {{ method | returnType(spec) | raw }} {
3535
{{~ include('swift/base/params.twig') }}
3636
{%~ if method.type == 'webAuth' %}
3737
{{~ include('swift/base/requests/OAuth.twig') }}
@@ -109,4 +109,4 @@ open class {{ service.name | caseUcfirst }}: Service {
109109

110110
{% endfor %}
111111

112-
%}
112+
}

0 commit comments

Comments
 (0)