Fixes empty content type during upload (#9848)
* Specify exact Content-Type for encrypted uploads * Add content type check for encrypted file upload * Fix code style issues
This commit is contained in:
@@ -303,6 +303,7 @@ export async function uploadFile(
|
||||
progressHandler,
|
||||
abortController,
|
||||
includeFilename: false,
|
||||
type: "application/octet-stream",
|
||||
});
|
||||
if (abortController.signal.aborted) throw new UploadCanceledError();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user