Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Jan 6, 2024
1 parent 0cfd732 commit b8458e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ChatJpaEntity fromChatToJpaChatEntity(Chat chat) {
jme.setText(m.getText());
jme.setChatId(chat.getChatId().getId());
jme.setAuthorId(m.getAuthorId().getValue());
jme.setCreatedAt(LocalDateTime.now());
jme.setCreatedAt(m.getCreatedAt());
jme.setReadyBy(m.getReadBy().stream().map(p -> p.getId()).collect(Collectors.toSet()));
return jme;
}
Expand Down

0 comments on commit b8458e6

Please sign in to comment.