diericx / climbing_notebook

A tool to help climbers with their training
https://climbingnotebook.com
Other
22 stars 1 forks source link

S3 `uploadFile` function should accept a buffer rather than a File #31

Open diericx opened 11 months ago

diericx commented 11 months ago

Once we begin to resize files we are dealing with buffers rather than Files, so this function should accept Buffers and the Files should be converted before using it.

https://github.com/diericx/climbing_notebook/blob/4c69dfb5c4b45a372f2ddeae2cfa50a0111edc08/src/lib/aws/s3.ts#L13