bvanberg / herzog

Dumping ground for initial POC projects.
1 stars 0 forks source link

Add accurate file extension to uploaded file on S3 #7

Open billy-bacon opened 8 years ago

billy-bacon commented 8 years ago

Currently there's a todo comment in the IdentificationResource to remove the hard-coded extension (.jpg) as the suffix for the filename which the image will be uploaded to S3 with. We need a better way of doing this, whether it's adding another query parameter to the resource endpoint which represents the filename to be used, or something a bit more clever.