From cee01000b324ac69171ec0431e479e82a3727a58 Mon Sep 17 00:00:00 2001 From: Marcin Bator Date: Tue, 22 Oct 2024 21:52:55 +0200 Subject: [PATCH] fix: #dev users endpoint url --- rag-2-backend/Controllers/AdministrationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {