Skip to content

Commit

Permalink
Add 'extension' field to metadata of scraped media
Browse files Browse the repository at this point in the history
  • Loading branch information
philmcmahon committed Jan 7, 2025
1 parent 9556727 commit 316cd47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/media-download/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ const uploadToS3 = async (
Bucket: bucket,
Key: key,
Body: fileStream,
Metadata: {
'x-amz-meta-extension': metadata.extension,
},
},
});

Expand Down

0 comments on commit 316cd47

Please sign in to comment.