Skip to content

Commit

Permalink
Fix missing close/start tag
Browse files Browse the repository at this point in the history
Signed-off-by: starfishfive <[email protected]>
  • Loading branch information
starfishfive committed May 17, 2024
1 parent 35315f9 commit 7d77241
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
public class ComponentResource extends AlpineResource {

@GET
@Path("/all")
@Produces(MediaType.APPLICATION_JSON)
@ApiOperation(
value = "Returns a list of all components",
Expand All @@ -89,7 +88,7 @@ public class ComponentResource extends AlpineResource {
@ApiResponse(code = 401, message = "Unauthorized"),
})
@PermissionRequired(Permissions.Constants.VIEW_PORTFOLIO)
public Response getComponents(
public Response getComponents() {
try (QueryManager qm = new QueryManager(getAlpineRequest())) {
final PaginatedResult result = qm.getComponents();
return Response.ok(result.getObjects()).header(TOTAL_COUNT_HEADER, result.getTotal()).build()
Expand Down

0 comments on commit 7d77241

Please sign in to comment.