From 46723c0abd2eea3a06baef04ee380dde3e8f91f8 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 25 Apr 2022 19:31:37 +0800 Subject: ... --- FrontEnd/src/utilities/base64.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FrontEnd/src/utilities/base64.ts') diff --git a/FrontEnd/src/utilities/base64.ts b/FrontEnd/src/utilities/base64.ts index 5f12414e..59de7512 100644 --- a/FrontEnd/src/utilities/base64.ts +++ b/FrontEnd/src/utilities/base64.ts @@ -1,6 +1,6 @@ import { Base64 } from "js-base64"; -export function base64(blob: Blob | string): Promise { +export default function base64(blob: Blob | string): Promise { if (typeof blob === "string") { return Promise.resolve(Base64.encode(blob)); } -- cgit v1.2.3