Tweak code note

This commit is contained in:
Sam Becker 2023-11-26 19:21:30 -06:00
parent 3b973dca49
commit 4d655eb76a

View File

@ -27,7 +27,7 @@ export const HAS_AWS_S3_STORAGE =
const client = () => new S3Client({
region: S3_REGION,
credentials: {
// Fallback on upload credentials if admin credentials are not available
// Fall back on upload credentials if admin credentials are not available
accessKeyId: S3_ADMIN_ACCESS_KEY ?? S3_UPLOAD_ACCESS_KEY,
secretAccessKey: S3_ADMIN_SECRET_ACCESS_KEY ?? S3_UPLOAD_SECRET_ACCESS_KEY,
},