Igonre files types
This commit is contained in:
parent
240831d6e5
commit
bfd5a58461
@ -63,6 +63,7 @@ class StreamUploadManager<TCacheShape> {
|
|||||||
const uploadUrl = await this.getUploadLink(index);
|
const uploadUrl = await this.getUploadLink(index);
|
||||||
const uploadRequest = RNFS.uploadFiles({
|
const uploadRequest = RNFS.uploadFiles({
|
||||||
toUrl: uploadUrl,
|
toUrl: uploadUrl,
|
||||||
|
// @ts-ignore
|
||||||
files: [{ filepath: filepath }],
|
files: [{ filepath: filepath }],
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
binaryStreamOnly: true,
|
binaryStreamOnly: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user