Skip to content

Commit

Permalink
Merge branch 'main' into tbolt/4602-help-text-cost-allocation-other-f…
Browse files Browse the repository at this point in the history
…unding
  • Loading branch information
tbolt committed Mar 22, 2023
2 parents b91e094 + 7b781d2 commit c0ffa21
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/files/s3.js
Expand Up @@ -4,10 +4,6 @@ const config = {
apiVersion: '2006-03-01'
};

if (process.env.AWS_REGION) {
config.region = process.env.AWS_REGION;
}

export const getFile = async (id, { S3 = awsS3 } = {}) => {
if (!process.env.FILE_S3_BUCKET) {
return Promise.reject(new Error('No S3 bucket specified'));
Expand Down

0 comments on commit c0ffa21

Please sign in to comment.