Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
v1.3.1
  • Loading branch information
mikekks authored Jul 25, 2024
2 parents 82008bb + 17994d3 commit 5236f8f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ public void mentionUserInPost(PostV2MentionUserInPostRequestDto requestBody, Int
user.getName(), post.getTitle());
String pushNotificationWeblink = pushWebUrl + "/post?id=" + post.getId();

String[] userOrgIds = userRepository.findByIdIn(requestBody.getUserIds())
.stream()
.map(mentionedUser -> String.valueOf(mentionedUser.getOrgId()))
String[] userOrgIds = requestBody.getUserIds().stream()
.map(Object::toString)
.toArray(String[]::new);

PushNotificationRequestDto pushRequestDto = PushNotificationRequestDto.of(
Expand Down

0 comments on commit 5236f8f

Please sign in to comment.