diff --git a/app/core/modules/info/get-license.ts b/app/core/modules/info/get-license.ts index 6abb899af..6956550a9 100644 --- a/app/core/modules/info/get-license.ts +++ b/app/core/modules/info/get-license.ts @@ -4,6 +4,7 @@ */ import fs from 'fs'; +import btoa from 'btoa'; import { varState } from '../../states'; import { CoreContext, CoreResult } from '../../types'; import { ensurePermission } from '../../utils'; @@ -27,8 +28,8 @@ export const getLicense = async function (context: CoreContext): Promise