mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
feat(mobile): uploading files in chunk (#2101)
This commit is contained in:
parent
9adbbd42be
commit
b49f66bbc9
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user