Skip to content

Commit

Permalink
Merge branch 'admin-update-role-187584923' of https://github.com/atlp…
Browse files Browse the repository at this point in the history
…-rwanda/e-commerce-ninjas-bn into admin-update-role-187584923
  • Loading branch information
ndahimana154 committed May 30, 2024
2 parents da88ef1 + 8f757e0 commit a2e439f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ This is the backend for E-Commerce-Ninjas, written in Node.js with TypeScript.
| 4 | POST | /api/auth/send-verify-email | 200 OK | public | Resend verification email |
| 5 | POST | /api/auth/login | 200 OK | public | Login with Email and Password |
| 5 | PUT | /api/users/admin-update-role/:id | 200 OK | private | Update the user role by admin|
| 6 | PUT | /api/users/admin-update-user-status/:id | 200 OK | private | Admin change status |
| 7 | PUT | /api/users/admin-update-role/:id | 200 OK | private | Update the user role by admin |
| 6 | PUT | /api/users/admin-update-user-status/:id | 200 OK | private | Admin Update Status Endpoint |
| 7 | PUT | /api/users/admin-update-role/:id | 200 OK | private | Admin Update Role Endpoint |

## INSTALLATION

Expand Down

0 comments on commit a2e439f

Please sign in to comment.