Skip to content

Commit

Permalink
Fix getOwner REST operation (MID-4967)
Browse files Browse the repository at this point in the history
(Looks like a copy-paste error.)
  • Loading branch information
mederly committed Nov 6, 2018
1 parent 181299f commit 15eb97b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -673,7 +673,7 @@ public Response findShadowOwner(@PathParam("oid") String shadowOid, @Context Mes
try {
PrismObject<UserType> user = model.findShadowOwner(shadowOid, task, parentResult);
// response = Response.ok().entity(user).build();
response = RestServiceUtil.createResponse(Response.Status.NO_CONTENT, user, parentResult);
response = RestServiceUtil.createResponse(Response.Status.OK, user, parentResult);
} catch (Exception ex) {
response = RestServiceUtil.handleException(parentResult, ex);
}
Expand Down

0 comments on commit 15eb97b

Please sign in to comment.