mirror of
https://github.com/strapi/strapi.git
synced 2025-08-28 18:51:33 +00:00
chore(upload-aws-s3): upload isPrivate
This commit is contained in:
parent
4e6731ec58
commit
aba3eba51f
@ -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);
|
||||
},
|
||||
/**
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user