Closed wel-shy closed 5 years ago
Bug fix for images not being resized before being stored on Amazon S3.
Returning 500 when storing images remotely, but worked fine when running locally. Not caught in unit tests as they don't make external API calls.
Noticed resizing was only happening in the remote branch of the controller logic for uploading media. Edited this to do work before branching is made.
Bug Fix
Bug fix for images not being resized before being stored on Amazon S3.
Description
Returning 500 when storing images remotely, but worked fine when running locally. Not caught in unit tests as they don't make external API calls.
Fix
Noticed resizing was only happening in the remote branch of the controller logic for uploading media. Edited this to do work before branching is made.