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

@@ -16,6 +16,7 @@ public class GetPurchaseOrderEndpoint(PyroFetesDbContext database) : Endpoint<Ge
public override void Configure()
{
Get("/api/purchaseOrders/{@Id}", x => new {x.Id});
AllowAnonymous();
}
public override async Task HandleAsync(GetPurchaseOrderRequest req, CancellationToken ct)