change name

This commit is contained in:
2025-12-04 15:32:25 +01:00
parent df0756ff50
commit 604dd77fed
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ public class DeleteCommunicationEndpoint(PyroFetesDbContext pyroFetesDbContext)
{ {
public override void Configure() public override void Configure()
{ {
Delete ("/api/availabilities/{@Id}", x => new { x.Id }); Delete ("/api/communications/{@Id}", x => new { x.Id });
AllowAnonymous(); AllowAnonymous();
} }

View File

@@ -9,7 +9,7 @@ public class GetCommunicationEndpoint(PyroFetesDbContext pyroFetesDbContext) : E
{ {
public override void Configure() public override void Configure()
{ {
Get ("/api/availabilities"); Get ("/api/communications");
AllowAnonymous(); AllowAnonymous();
} }