Igonre files types

This commit is contained in:
Ivan Malison 2024-02-05 01:58:19 -07:00
parent 240831d6e5
commit bfd5a58461

View File

@ -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,