mirror of
https://git.vectorsigma.ru/public/immich.git
synced 2026-08-05 03:18:20 +00:00
redundant headers
This commit is contained in:
@@ -53,6 +53,7 @@ object HttpClientManager {
|
||||
private set
|
||||
|
||||
var headers: Headers = Headers.headersOf()
|
||||
private set
|
||||
|
||||
val isMtls: Boolean get() = keyChainAlias != null || keyStore.containsAlias(CERT_ALIAS)
|
||||
|
||||
|
||||
@@ -321,7 +321,6 @@ class BackupService {
|
||||
onProgress: ((bytes, totalBytes) => onProgress(bytes, totalBytes)),
|
||||
);
|
||||
|
||||
baseRequest.headers.addAll(ApiService.getRequestHeaders());
|
||||
baseRequest.fields['deviceAssetId'] = asset.localId!;
|
||||
baseRequest.fields['deviceId'] = deviceId;
|
||||
baseRequest.fields['fileCreatedAt'] = asset.fileCreatedAt.toUtc().toIso8601String();
|
||||
|
||||
Reference in New Issue
Block a user