added AllowAnonymous();

This commit is contained in:
2025-11-17 21:25:07 +01:00
parent 6dba61f742
commit 0511bb5075
23 changed files with 26 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ public class DeleteSupplierEndpoint(PyroFetesDbContext database) : Endpoint<Dele
public override void Configure()
{
Delete("/api/suppliers/{@Id}", x => new {x.Id});
AllowAnonymous();
}
public override async Task HandleAsync(DeleteSupplierRequest req, CancellationToken ct)