Skip to content

Commit

Permalink
fix: #dev users endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbator committed Oct 22, 2024
1 parent b29e9fd commit cee0100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rag-2-backend/Controllers/AdministrationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public UserResponse GetUserDetails([Required] int userId)
}

/// <summary>Get all users list (Admin, Teacher)</summary>
[HttpGet("students")]
[HttpGet("users")]
[Authorize(Roles = "Admin, Teacher")]
public List<UserResponse> GetStudents()
{
Expand Down

0 comments on commit cee0100

Please sign in to comment.