fix error in api's route

This commit is contained in:
2025-10-17 16:47:34 +01:00
parent fa72c6d777
commit aa1c98d649
12 changed files with 33 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ public class DeletePurchaseOrderEndpoint(PyroFetesDbContext database) : Endpoint
{
public override void Configure()
{
Delete("/api/purchaseOrders/{Id}", x => new {x.Id});
Delete("/api/purchaseOrders/{@Id}", x => new {x.Id});
AllowAnonymous();
}