forked from sanchezvem/pyrofetes-backend
Merge remote-tracking branch 'origin/feature/refactor-backend' into feature/refactor-backend
# Conflicts: # PyroFetes/Endpoints/Users/GetUserEndpoint.cs
This commit is contained in:
@@ -10,8 +10,8 @@ public class GetUserEndpoint(UsersRepository usersRepository, AutoMapper.IMapper
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get("/user/");
|
||||
AllowAnonymous();
|
||||
Get("/users/");
|
||||
Roles("Admin","Employe");
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user