PhantomWatson / muncie-events-api

MuncieEvents.com
https://muncieevents.com
2 stars 1 forks source link

JSON view not used for errors in initialize() #11

Closed PhantomWatson closed 5 years ago

PhantomWatson commented 5 years ago

The exceptions thrown in ApiController::initialize() (for incorrect protocol or invalid/missing API key) render HTML error pages instead of JSON error responses.

Once this is fixed, there should be tests written to assert proper error responses.

PhantomWatson commented 5 years ago

This issue appears to be fixed.