Compare commits
2
Commits
4856b6e6f4
...
0adfae1616
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0adfae1616 | ||
|
|
7037ea72ca |
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user