forked from sanchezvem/PyroFetes
added AllowAnonymous();
This commit is contained in:
@@ -11,6 +11,7 @@ public class UpdateSupplierEndpoint(PyroFetesDbContext database) : Endpoint<Upda
|
||||
public override void Configure()
|
||||
{
|
||||
Put("/api/suppliers/{@Id}", x => new {x.Id});
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(UpdateSupplierDto req, CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user