dev add method link
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-05-04 14:37:06 +07:00
parent 0aa30736d8
commit bc86854596
@@ -67,7 +67,9 @@ public class ComplaintEntityHandler implements RequestHandler {
case "update_status" -> handleUpdateStatus(msgId, complaintRequest); case "update_status" -> handleUpdateStatus(msgId, complaintRequest);
case "update" -> handleUpdate(msgId, complaintRequest); case "update" -> handleUpdate(msgId, complaintRequest);
case "delete" -> handleDelete(msgId, complaintRequest); case "delete" -> handleDelete(msgId, complaintRequest);
default -> errorResponse(msgId, MessageCode.MSG_ID_NOT_FOUND.getCode(), "Unknown action: " + action); default -> errorResponse(msgId, MessageCode.MSG_ID_NOT_FOUND.getCode(), "Valid actions: " +
List.of("create", "get", "get_all", "get_by_violation", "update_status",
"update", "delete"));
}; };
} catch (Exception e) { } catch (Exception e) {
log.error("Error handling complaint request", e); log.error("Error handling complaint request", e);