diff --git a/PostFundManagement.Api/Endpoints/Projects/GetComplianceItemsEndpoint.cs b/PostFundManagement.Api/Endpoints/Projects/GetComplianceItemsEndpoint.cs index 3579d22..0322d94 100644 --- a/PostFundManagement.Api/Endpoints/Projects/GetComplianceItemsEndpoint.cs +++ b/PostFundManagement.Api/Endpoints/Projects/GetComplianceItemsEndpoint.cs @@ -14,7 +14,7 @@ public sealed class GetComplianceItemsEndpoint : IEndpoint { public void Map(IEndpointRouteBuilder builder) { - builder.MapGet("api/projects/complianceitems/{projectId}", async (string projectId, IProjectService service, + builder.MapGet("api/projects/{projectId}/complianceitems", async (string projectId, IProjectService service, CancellationToken cancellationToken = default) => await service.GetComplianceItemsAsync(projectId, cancellationToken) switch {