fix condition check

This commit is contained in:
Philipinho
2024-07-07 09:48:43 +01:00
parent 4af3a54649
commit bc1579b022

View File

@ -58,7 +58,7 @@ export const storageDriverConfigProvider = {
* AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY if they are present in the environment * AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY if they are present in the environment
*/ */
if ( if (
environmentService.getAwsS3AccessKeyId() && environmentService.getAwsS3AccessKeyId() ||
environmentService.getAwsS3SecretAccessKey() environmentService.getAwsS3SecretAccessKey()
) { ) {
s3Config.config.credentials = { s3Config.config.credentials = {