fix condition check
This commit is contained in:
parent
4af3a54649
commit
bc1579b022
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue