From 73d8fcace4fa5c0b8ab8ea55c3fa73a19b972d30 Mon Sep 17 00:00:00 2001 From: JordenReuter <149687553+JordenReuter@users.noreply.github.com> Date: Thu, 15 Feb 2024 13:10:30 +0100 Subject: [PATCH] fix: missing response on menuitem creation (#26) --- .../rs/internal/controllers/MenuInternalRestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/tkit/onecx/workspace/rs/internal/controllers/MenuInternalRestController.java b/src/main/java/org/tkit/onecx/workspace/rs/internal/controllers/MenuInternalRestController.java index 276f4af..f3d3c28 100644 --- a/src/main/java/org/tkit/onecx/workspace/rs/internal/controllers/MenuInternalRestController.java +++ b/src/main/java/org/tkit/onecx/workspace/rs/internal/controllers/MenuInternalRestController.java @@ -83,7 +83,7 @@ public Response createMenuItemForWorkspace(String name, CreateMenuItemDTO menuIt menuItem = dao.create(menuItem); return Response - .created(uriInfo.getAbsolutePathBuilder().path(menuItem.getId()).build()) + .created(uriInfo.getAbsolutePathBuilder().path(menuItem.getId()).build()).entity(mapper.map(menuItem)) .build(); }