Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/geo-brand-presence/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async function asPresignedJsonUrl(data, bucketName, context) {
log.info('GEO BRAND PRESENCE: Data uploaded to S3 at s3://%s/%s', bucketName, key);
return getPresignedUrl(
s3Client,
new GetObjectCommand({ Bucket: bucketName, Key: key }),
new GetObjectCommand({ Bucket: bucketName, Key: key, ResponseContentType: 'application/json' }),
{ expiresIn: 86_400 /* seconds, 24h */ },
);
}
Expand Down