apc-unb / apc-api

MIT License
4 stars 0 forks source link

Request for updating admins #40

Closed vitordullens closed 4 years ago

vitordullens commented 4 years ago

add all fields

The update admin request should accept all the fields present in admin. In the front-end we decide with ones the user should be able to update.

send only an object

We only update one admin at a time, so instead of passing a array of admins, it's more suitable to pass only an object.