Skip to content

Commit

Permalink
fix: missing response on menuitem creation (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordenReuter authored Feb 15, 2024
1 parent 3bcdd1e commit 73d8fca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 73d8fca

Please sign in to comment.