From 9ff5c038b1dce5ca798ee7f9b49cc9d632c081b0 Mon Sep 17 00:00:00 2001 From: Cristiano Date: Thu, 6 Nov 2025 16:16:49 +0100 Subject: [PATCH] HOTFIX --- PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs | 2 +- PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs | 2 +- PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs b/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs index 399c91c..2c8e4a8 100644 --- a/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs +++ b/PyroFetes/Endpoints/Deliverers/DeleteDelivererEndpoint.cs @@ -12,7 +12,7 @@ public class DeleteDelivererEndpoint(PyroFetesDbContext database) : Endpointnew {x.DelivererId}); + Delete("api/deliverers/{@id}", x=>new {x.DelivererId}); AllowAnonymous(); } diff --git a/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs b/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs index 6995a78..35a4b69 100644 --- a/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs +++ b/PyroFetes/Endpoints/Deliverers/GetDelivererEndpoint.cs @@ -14,7 +14,7 @@ public class GetDelivererEndpoint(PyroFetesDbContext database) : Endpointnew {x.DelivererId}); + Get("api/deliverers/{@id}", x=>new {x.DelivererId}); AllowAnonymous(); } diff --git a/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs b/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs index 1f65081..b8c7a5e 100644 --- a/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs +++ b/PyroFetes/Endpoints/Deliverers/UpdateDelivererEndpoint.cs @@ -10,7 +10,7 @@ public class UpdateDelivererEndpoint(PyroFetesDbContext database) : Endpointnew {x.Id}); + Put("api/deliverers/{@id}", x=>new {x.Id}); AllowAnonymous(); }