diff --git a/src/utils/DecryptFile.ts b/src/utils/DecryptFile.ts index 34c42abb65..891439ffe1 100644 --- a/src/utils/DecryptFile.ts +++ b/src/utils/DecryptFile.ts @@ -31,7 +31,7 @@ import { getBlobSafeMimeType } from "./blobs"; */ export function decryptFile( file: IEncryptedFile, - info: IMediaEventInfo | undefined, + info?: IMediaEventInfo, ): Promise { const media = mediaFromContent({ file }); // Download the encrypted file as an array buffer.