Update src/utils/DecryptFile.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Hubert Chathi 2021-08-10 19:37:18 -04:00 committed by GitHub
parent 3b9810719f
commit 82c34e9ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import { getBlobSafeMimeType } from "./blobs";
*/
export function decryptFile(
file: IEncryptedFile,
info: IMediaEventInfo | undefined,
info?: IMediaEventInfo,
): Promise<Blob> {
const media = mediaFromContent({ file });
// Download the encrypted file as an array buffer.