|
@@ -184,7 +184,7 @@ class NCNetworkingE2EEUpload: NSObject {
|
|
|
if metadata.chunk {
|
|
|
|
|
|
return await withCheckedContinuation({ continuation in
|
|
|
- NCNetworking.shared.uploadChunkFile(metadata: metadata, withUploadComplete: false) {
|
|
|
+ NCNetworking.shared.uploadChunkFile(metadata: metadata, withUploadComplete: false, addCustomHeaders: ["e2e-token": e2eToken]) {
|
|
|
uploadE2EEDelegate?.start()
|
|
|
} progressHandler: { totalBytesExpected, totalBytes, fractionCompleted in
|
|
|
uploadE2EEDelegate?.uploadE2EEProgress(totalBytesExpected, totalBytes, fractionCompleted)
|