mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-12 15:52:32 +10:00
fix condition check
This commit is contained in:
@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user