mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 16:22: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
|
* 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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user