Skip to content

Commit

Permalink
MODLD-646: Fix sonar violation
Browse files Browse the repository at this point in the history
  • Loading branch information
pkjacob committed Jan 30, 2025
1 parent bc53fb6 commit 36aeb25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public ResponseEntity<AssignmentCheckResponseDto> authorityAssignmentCheck(Assig
var isValidAssignment = resourceMarcAuthorityService.isMarcAuthorityCompatibleWithTarget(
dto.getRawMarc(),
AssignAuthorityTarget.valueOf(dto.getTarget().name()));
return ok(new AssignmentCheckResponseDto().validAssignment(isValidAssignment));
return ok(new AssignmentCheckResponseDto(isValidAssignment));
}
}

0 comments on commit 36aeb25

Please sign in to comment.