jesuspc / node_club-dictionaries

A dictionaries microservices for Workshare's Node club
1 stars 0 forks source link

Parameterize #1

Closed jesuspc closed 8 years ago

jesuspc commented 8 years ago

A middleware function that should kill the request with a 400 with error message if the scope is not 'users' or 'accounts' should be implemented and applied to all endpoints. Please include integration tests as shared examples as part of the task.

The response body should be:

{"error":"scope does not have a valid value"}

jesuspc commented 8 years ago

Branch merged. A new issue to replace the parameteriser name will be created by @jonathancecil