@@ -50,8 +50,8 @@ public class UserInfoHandler implements RequestHandler {
|
|||||||
log.info("Processing UserInfoHandler with action: {}", body.getAction());
|
log.info("Processing UserInfoHandler with action: {}", body.getAction());
|
||||||
|
|
||||||
return switch (body.getAction()) {
|
return switch (body.getAction()) {
|
||||||
case "getAll" -> getAllAdditionalInfos(request);
|
// case "getAll" -> getAllAdditionalInfos(request);
|
||||||
case "getAllWithPagination" -> getAllAdditionalInfoWithPagination(request, body);
|
case "getAll" -> getAllAdditionalInfoWithPagination(request, body);
|
||||||
case "getById" -> getAdditionalInfoById(request, body.getUserId());
|
case "getById" -> getAdditionalInfoById(request, body.getUserId());
|
||||||
case "update" -> updateAdditionalInfo(request, body);
|
case "update" -> updateAdditionalInfo(request, body);
|
||||||
case "delete" -> deleteAdditionalInfo(request, body.getUserId());
|
case "delete" -> deleteAdditionalInfo(request, body.getUserId());
|
||||||
|
|||||||
Reference in New Issue
Block a user