From 0eca4029b1cb5acbabf5a947c67dafccceefac58 Mon Sep 17 00:00:00 2001 From: jsteenke <146953549+jsteenke@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:24:23 +0200 Subject: [PATCH] fix: return 204 resetPassword (#20) --- .../kc/rs/external/v1/controllers/AdminUserRestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/tkit/onecx/iam/kc/rs/external/v1/controllers/AdminUserRestController.java b/src/main/java/org/tkit/onecx/iam/kc/rs/external/v1/controllers/AdminUserRestController.java index b8a076b..8ba17b5 100644 --- a/src/main/java/org/tkit/onecx/iam/kc/rs/external/v1/controllers/AdminUserRestController.java +++ b/src/main/java/org/tkit/onecx/iam/kc/rs/external/v1/controllers/AdminUserRestController.java @@ -29,7 +29,7 @@ public class AdminUserRestController implements AdminUserControllerApi { @Override public Response resetPassword(UserResetPasswordRequestDTOV1 userResetPasswordRequestDTOV1) { adminService.resetPassword(userResetPasswordRequestDTOV1.getPassword()); - return null; + return Response.noContent().build(); } @ServerExceptionMapper