alphagov/email-alert-api — pull request #43 by james (2014-11-03 18:13:24+00:00)
Title: Validate tags are all arrays

Previously, if you sent a tag that had a value that was not an array
(e.g. a string), then you’d get a hard to debug error caused by
JSON.parse failing.

This adds a simple validation of the params on the controller.