File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
kotlin/src/main/kotlin/io/appwrite Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class Client @JvmOverloads constructor(
63
63
headers = mutableMapOf(
64
64
"content-type" to "application/json",
65
65
"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()})",
67
67
68
68
{% for key ,header in spec .global .defaultHeaders %}
69
69
"{{ key | caseLower }}" to "{{ header }}"{% if not loop .last %},{% endif %}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module {{ spec.title | caseUcfirst }}
13
13
@headers = {
14
14
'user-agent' => RUBY_PLATFORM + ':{{ language .name | caseLower }}-' + RUBY_VERSION,
15
15
'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()})',
17
17
18
18
{% for key ,header in spec .global .defaultHeaders %}
19
19
'{{key }}' => '{{header }}'{% if not loop .last %},{% endif %}
You can’t perform that action at this time.
0 commit comments