Skip to content

Commit

Permalink
2024-10-21 - feedback - external reviewer - server-side
Browse files Browse the repository at this point in the history
  • Loading branch information
Luch76 committed Oct 21, 2024
1 parent ff2e29b commit a68340d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void validateMembers(FeedbackRequest feedbackRequest) {
throw new BadArgException("Cannot save feedback request with invalid creator ID");
}

if (feedbackRequest.getRecipientId() == null || feedbackRequest.getExternalRecipientId() == null) {
if (feedbackRequest.getRecipientId() == null && feedbackRequest.getExternalRecipientId() == null) {
throw new BadArgException("Cannot save feedback request without recipient/external-recipient ID");
}

Expand Down

0 comments on commit a68340d

Please sign in to comment.