diff --git a/rag-2-backend/Controllers/AdministrationController.cs b/rag-2-backend/Controllers/AdministrationController.cs index 9535197..cc07d92 100644 --- a/rag-2-backend/Controllers/AdministrationController.cs +++ b/rag-2-backend/Controllers/AdministrationController.cs @@ -46,7 +46,7 @@ public UserResponse GetUserDetails([Required] int userId) } /// Get all users list (Admin, Teacher) - [HttpGet("students")] + [HttpGet("users")] [Authorize(Roles = "Admin, Teacher")] public List GetStudents() {