From f427763308c29620ef8ed36ad280559c39cf68c3 Mon Sep 17 00:00:00 2001 From: Mateus Badan de Pieri Date: Wed, 12 Apr 2023 02:29:30 +0100 Subject: [PATCH] export function to make test easier --- packages/backend-core/src/security/encryption.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-core/src/security/encryption.ts b/packages/backend-core/src/security/encryption.ts index d2c8f18f73..f9adb68955 100644 --- a/packages/backend-core/src/security/encryption.ts +++ b/packages/backend-core/src/security/encryption.ts @@ -12,7 +12,7 @@ export enum SecretOption { ENCRYPTION = "encryption", } -function getSecret(secretOption: SecretOption): string { +export function getSecret(secretOption: SecretOption): string { let secret, secretName switch (secretOption) { case SecretOption.ENCRYPTION: