From bc1579b02241277fbad90ebf968f1553b4c248d1 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 7 Jul 2024 09:48:43 +0100 Subject: [PATCH] fix condition check --- .../src/integrations/storage/providers/storage.provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/integrations/storage/providers/storage.provider.ts b/apps/server/src/integrations/storage/providers/storage.provider.ts index 7967cc8b..c23d9a4b 100644 --- a/apps/server/src/integrations/storage/providers/storage.provider.ts +++ b/apps/server/src/integrations/storage/providers/storage.provider.ts @@ -58,7 +58,7 @@ export const storageDriverConfigProvider = { * AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY if they are present in the environment */ if ( - environmentService.getAwsS3AccessKeyId() && + environmentService.getAwsS3AccessKeyId() || environmentService.getAwsS3SecretAccessKey() ) { s3Config.config.credentials = {