Skip to content

Commit 2dd161c

Browse files
committed
Debug tests
1 parent 7fa43d9 commit 2dd161c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/kotlin/src/main/kotlin/io/appwrite/Client.kt.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Client @JvmOverloads constructor(
6363
headers = mutableMapOf(
6464
"content-type" to "application/json",
6565
"x-sdk-version" to "{{spec.title | caseDash}}:{{ language.name | caseLower }}:${BuildConfig.SDK_VERSION}",
66-
"User-Agent" : "{{spec.title | caseUcfirst}}Kotlin/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})",
66+
"User-Agent" to "{{spec.title | caseUcfirst}}Kotlin/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})",
6767

6868
{% for key,header in spec.global.defaultHeaders %}
6969
"{{ key | caseLower }}" to "{{ header }}"{% if not loop.last %},{% endif %}

templates/ruby/lib/container/client.rb.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module {{ spec.title | caseUcfirst }}
1313
@headers = {
1414
'user-agent' => RUBY_PLATFORM + ':{{ language.name | caseLower }}-' + RUBY_VERSION,
1515
'x-sdk-version' => '{{ spec.title | caseDash }}:{{ language.name | caseLower }}:{{ sdk.version }}',
16-
'User-Agent' : '{{spec.title | caseUcfirst}}Ruby/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})',
16+
'User-Agent' => '{{spec.title | caseUcfirst}}Ruby/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})',
1717

1818
{% for key,header in spec.global.defaultHeaders %}
1919
'{{key}}' => '{{header}}'{% if not loop.last %},{% endif %}

0 commit comments

Comments
 (0)