From 604dd77fed70eca02933956975429cdf59396ef1 Mon Sep 17 00:00:00 2001 From: carteronm Date: Thu, 4 Dec 2025 15:32:25 +0100 Subject: [PATCH] change name --- .../Endpoints/Communication/DeleteCommunicationEndpoint.cs | 2 +- PyroFetes/Endpoints/Communication/GetCommunicationEndpoint.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PyroFetes/Endpoints/Communication/DeleteCommunicationEndpoint.cs b/PyroFetes/Endpoints/Communication/DeleteCommunicationEndpoint.cs index b707b4b..5c1eb67 100644 --- a/PyroFetes/Endpoints/Communication/DeleteCommunicationEndpoint.cs +++ b/PyroFetes/Endpoints/Communication/DeleteCommunicationEndpoint.cs @@ -9,7 +9,7 @@ public class DeleteCommunicationEndpoint(PyroFetesDbContext pyroFetesDbContext) { public override void Configure() { - Delete ("/api/availabilities/{@Id}", x => new { x.Id }); + Delete ("/api/communications/{@Id}", x => new { x.Id }); AllowAnonymous(); } diff --git a/PyroFetes/Endpoints/Communication/GetCommunicationEndpoint.cs b/PyroFetes/Endpoints/Communication/GetCommunicationEndpoint.cs index cb58367..18a8fc0 100644 --- a/PyroFetes/Endpoints/Communication/GetCommunicationEndpoint.cs +++ b/PyroFetes/Endpoints/Communication/GetCommunicationEndpoint.cs @@ -9,7 +9,7 @@ public class GetCommunicationEndpoint(PyroFetesDbContext pyroFetesDbContext) : E { public override void Configure() { - Get ("/api/availabilities"); + Get ("/api/communications"); AllowAnonymous(); }