From 82c34e9ed105a33571eba3a986bcb34df49d067b Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 10 Aug 2021 19:37:18 -0400 Subject: [PATCH] Update src/utils/DecryptFile.ts Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- src/utils/DecryptFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.