From 1bd92a87321c1fefbdcf15be6f45f7785c3bdfa1 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Thu, 28 May 2026 15:39:55 +0100 Subject: [PATCH] Fix route error --- PyroFetes/Endpoints/Users/GetUserEndpoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyroFetes/Endpoints/Users/GetUserEndpoint.cs b/PyroFetes/Endpoints/Users/GetUserEndpoint.cs index 22cb3ac..2a93a5e 100644 --- a/PyroFetes/Endpoints/Users/GetUserEndpoint.cs +++ b/PyroFetes/Endpoints/Users/GetUserEndpoint.cs @@ -10,7 +10,7 @@ public class GetUserEndpoint(UsersRepository usersRepository, AutoMapper.IMapper { public override void Configure() { - Get("/users/"); + Get("/user/"); Roles("Admin","Employe"); }