Skip to content

Commit 0718006

Browse files
committed
formatting
1 parent 547ebf3 commit 0718006

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ObjectService/RouteHandlers/TableHandlers/ObjectRouteHandler.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public class ObjectRouteHandler : ITableRouteHandler
3030
public static Delegate UpdateDelegate => UpdateAsync;
3131
public static Delegate DeleteDelegate => DeleteAsync;
3232

33-
public static void MapRoutes(IEndpointRouteBuilder endpoints)
34-
=> BaseTableRouteHandler.MapRoutes<ObjectRouteHandler>(endpoints);
33+
public static void MapRoutes(IEndpointRouteBuilder parentRoute)
34+
=> BaseTableRouteHandler.MapRoutes<ObjectRouteHandler>(parentRoute);
3535

3636
public static void MapAdditionalRoutes(IEndpointRouteBuilder parentRoute)
3737
{
@@ -42,6 +42,7 @@ public static void MapAdditionalRoutes(IEndpointRouteBuilder parentRoute)
4242
_ = resourceRoute.MapGet(RoutesV2.File, GetObjectFileAsync);
4343
_ = resourceRoute.MapGet(RoutesV2.Images, GetObjectImagesAsync);
4444
}
45+
4546
static async Task<IResult> ListMissingObjects([FromServices] LocoDbContext db, [FromServices] ILogger<ObjectRouteHandler> logger)
4647
{
4748
logger.LogInformation("[ListMissingObjects] List requested for missing objects");

0 commit comments

Comments
 (0)