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