added AllowAnonymous();
This commit is contained in:
@@ -15,6 +15,7 @@ public class GetSupplierEndpoint(PyroFetesDbContext database) : Endpoint<GetSupp
|
||||
public override void Configure()
|
||||
{
|
||||
Get("/api/suppliers/{@Id}", x => new {x.Id});
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(GetSupplierRequest req, CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user