File tree Expand file tree Collapse file tree
ObjectService/RouteHandlers/TableHandlers Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ) ;
You can’t perform that action at this time.
0 commit comments