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

@@ -11,7 +11,7 @@ public class PatchWareHouseProductQuantityEndpoint(PyroFetesDbContext database)
{
public override void Configure()
{
Patch("/api/wareHouseProduct/{ProductId}/{WareHouseId}/Quantity", x => new { x.ProductId, x.WareHouseId });
Patch("/api/wareHouseProduct/{@ProductId}/{@WareHouseId}/Quantity", x => new { x.ProductId, x.WareHouseId });
AllowAnonymous();
}