feat: set bucket region in s3 storage client

This commit is contained in:
Elliot DeNolf
2023-04-02 13:21:54 -04:00
parent 349ab5343e
commit 173ec6f0f8
2 changed files with 2 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ export const getStorageClient: GetStorageClient = async () => {
identityID = credentials.identityId
storageClient = new AWS.S3({
region: process.env.PAYLOAD_CLOUD_BUCKET_REGION,
credentials,
})