mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
fix condition check
This commit is contained in:
parent
4af3a54649
commit
bc1579b022
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user