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

@@ -10,7 +10,8 @@ public class PatchSupplierDeleveryDelayEndpoint(PyroFetesDbContext database) : E
{
public override void Configure()
{
Get("/api/supplier/{@Id}/DeleveryDalay", x => new {x.Id});
Patch("/api/supplier/{@Id}/DeleveryDalay", x => new {x.Id});
AllowAnonymous();
}
public override async Task HandleAsync(PatchSupplierDeliveryDelayDto req, CancellationToken ct)