Lab-Rats-Fullstack / Lab-Rats

Group Capstone project for the 2309-ftb-et-web-pt cohort of Fullstack Academy.
2 stars 0 forks source link

171-prevent-self-admin-change #172

Closed jared23m closed 8 months ago

jared23m commented 8 months ago

Prevents admin from changing their own admin status through the /:userId patch. We already did this for regular users with the /me patch, but not yet /:userId for admin