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(
381381 )
382382
383383 offset += CHUNK_SIZE
384- headers["x-appwrite -id"] = result!!["\$id"].toString()
384+ headers["x-{{ spec . title | caseLower }} -id"] = result!!["\$id"].toString()
385385 onProgress?.invoke(
386386 UploadProgress(
387387 id = result!!["\$id"].toString(),
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ class Client @JvmOverloads constructor(
340340 )
341341
342342 offset += CHUNK_SIZE
343- headers["x-appwrite -id"] = result!!["\$id"].toString()
343+ headers["x-{{ spec . title | caseLower }} -id"] = result!!["\$id"].toString()
344344 onProgress?.invoke(
345345 UploadProgress(
346346 id = result!!["\$id"].toString(),
You can’t perform that action at this time.
0 commit comments