Fixed error where people couldnt upload images from the API
Merge pull request #834 from jdalphon/fixAPI

Fixed error where people couldnt upload images from the API