Skip to content

Commit

Permalink
feature(chore):962 fix mapping fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Jun 20, 2024
1 parent b8ab2ec commit 1b56428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static NotificationMessageResponse fromNotification(NotificationMessage n
.sendTo(notificationMessage.getSentTo())
.errorMessage(notificationMessage.getErrorMessage())
.message(notificationMessage.getMessage())
.messageDate(String.valueOf(notificationMessage.getCreated()))
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class NotificationMessageResponse {
private String notificationReferenceId;

private String edcNotificationId;
private OffsetDateTime messageDate;
@Schema(example = "2023-02-21T21:27:10.734950Z", maxLength = 50)
private String messageDate;
private String messageId;
@Enumerated(EnumType.STRING)
private NotificationStatusResponse status;
Expand Down

0 comments on commit 1b56428

Please sign in to comment.