digitalinteraction / ongoingness-api

API for the Ongoingness Project
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Bug Fix #7

Closed wel-shy closed 5 years ago

wel-shy commented 5 years ago

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.