From aba3eba51fcbf606abce341cadafabf7083f4a9c Mon Sep 17 00:00:00 2001 From: Jamie Howard Date: Thu, 9 Feb 2023 16:38:17 +0000 Subject: [PATCH] chore(upload-aws-s3): upload isPrivate --- packages/providers/upload-aws-s3/lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/providers/upload-aws-s3/lib/index.js b/packages/providers/upload-aws-s3/lib/index.js index 7b5b315e7a..d1b0031f4e 100644 --- a/packages/providers/upload-aws-s3/lib/index.js +++ b/packages/providers/upload-aws-s3/lib/index.js @@ -6,7 +6,7 @@ /* eslint-disable no-unused-vars */ // Public node modules. -const _ = require('lodash'); +const get = require('lodash/get'); const AWS = require('aws-sdk'); function assertUrlProtocol(url) { @@ -53,7 +53,7 @@ module.exports = { return { isPrivate() { - return true; + return get(config, ['params', 'isPrivate'], false); }, /** *