File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
android/library/src/main/java/io/appwrite
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 @@ -381,7 +381,7 @@ class Client @JvmOverloads constructor(
381
381
)
382
382
383
383
offset += CHUNK_SIZE
384
- headers["x-appwrite -id"] = result!!["\$id"].toString()
384
+ headers["x-{{ spec . title | caseLower }} -id"] = result!!["\$id"].toString()
385
385
onProgress?.invoke(
386
386
UploadProgress(
387
387
id = result!!["\$id"].toString(),
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ class Client @JvmOverloads constructor(
340
340
)
341
341
342
342
offset += CHUNK_SIZE
343
- headers["x-appwrite -id"] = result!!["\$id"].toString()
343
+ headers["x-{{ spec . title | caseLower }} -id"] = result!!["\$id"].toString()
344
344
onProgress?.invoke(
345
345
UploadProgress(
346
346
id = result!!["\$id"].toString(),
You can’t perform that action at this time.
0 commit comments