File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
kotlin/src/main/kotlin/io/appwrite Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class Client {
133
133
}),
134
134
});
135
135
136
- const warnings = response.headers.get('x-{{spec .title | lower }}-warning');
136
+ const warnings = response.headers.get('x-{{ spec .title | lower }}-warning');
137
137
if (warnings) {
138
138
warnings.split(';').forEach((warning: string) => console.warn(warning));
139
139
}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class Client {
97
97
body
98
98
});
99
99
100
- const warnings = response.headers.get('x-{{spec .title | lower }}-warning');
100
+ const warnings = response.headers.get('x-{{ spec .title | lower }}-warning');
101
101
if (warnings) {
102
102
warnings.split(';').forEach((warning: string) => console.warn(warning));
103
103
}
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ namespace {{ spec.title | caseUcfirst }}
269
269
var response = await _http.SendAsync(request);
270
270
var code = (int)response.StatusCode;
271
271
272
- var warnings = response.Headers.GetValues("x-{{spec .title | lower }}-warning");
272
+ var warnings = response.Headers.GetValues("x-{{ spec .title | lower }}-warning");
273
273
if (warnings != null)
274
274
{
275
275
foreach (var warning in warnings.Split(';')
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ class Client @JvmOverloads constructor(
523
523
it.cancel(error)
524
524
return
525
525
}
526
-
526
+
527
527
val warnings = response.headers["x-{{ spec .title | lower }}-warning"]
528
528
if (warnings != null) {
529
529
warnings.split(";").forEach { warning ->
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ class Client {
262
262
263
263
const response = await fetch(uri, options);
264
264
265
- const warnings = response.headers.get('x-{{spec .title | lower }}-warning');
265
+ const warnings = response.headers.get('x-{{ spec .title | lower }}-warning');
266
266
if (warnings) {
267
267
warnings.split(';').forEach((warning: string) => console.warn(warning));
268
268
}
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ class Client {
390
390
let data = null;
391
391
const response = await fetch(url.toString(), options);
392
392
393
- const warnings = response.headers.get('x-{{spec .title | lower }}-warning');
393
+ const warnings = response.headers.get('x-{{ spec .title | lower }}-warning');
394
394
if (warnings) {
395
395
warnings.split(';').forEach((warning: string) => console.warn(warning));
396
396
}
You can’t perform that action at this time.
0 commit comments