fix origins error

As listed, was returning-
{
  "error": "'origins' field must be a JSON list of domains"
}

Fixed brackets, now returning-
{
  "ok": true
}