dev check violation for lawcase,complaint
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-05-18 13:52:41 +07:00
parent 0e0fac02a8
commit 16620213c7
2 changed files with 2 additions and 2 deletions
@@ -99,7 +99,7 @@ public class ComplaintEntityHandler implements RequestHandler {
MessageCode.USER_NOT_HAD_PERMISSION.getDescription());
}
if (violationRepository.existsViolation(violationId)) {
if (violationRepository.existsViolation(violation)) {
return errorResponse(msgId, MessageCode.COMPLAINT_ALREADY_EXIST.getCode(),
MessageCode.COMPLAINT_ALREADY_EXIST.getDescription());
}