Skip to content

Commit

Permalink
bla
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Dec 15, 2023
1 parent 38f4e6e commit 3f96ef4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static MessageDto of(Message message) {
return MessageDto.builder()
.id(message.getId().getValue().toString())
.text(message.getText())
.authorId(message.getAuthorId().toString())
.authorId(message.getAuthorId().getValue().toString())
.createdAt(OffsetDateTime.of(message.getCreatedAt(), ZoneOffset.UTC))
.build();
} else {
Expand Down

0 comments on commit 3f96ef4

Please sign in to comment.