mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(mobile): uploading files in chunk (#2101)
This commit is contained in:
@@ -243,6 +243,7 @@ class BackupService {
|
|||||||
);
|
);
|
||||||
req.headers["Authorization"] =
|
req.headers["Authorization"] =
|
||||||
"Bearer ${Store.get(StoreKey.accessToken)}";
|
"Bearer ${Store.get(StoreKey.accessToken)}";
|
||||||
|
req.headers["Transfer-Encoding"] = "chunked";
|
||||||
|
|
||||||
req.fields['deviceAssetId'] = entity.id;
|
req.fields['deviceAssetId'] = entity.id;
|
||||||
req.fields['deviceId'] = deviceId;
|
req.fields['deviceId'] = deviceId;
|
||||||
|
|||||||
Reference in New Issue
Block a user