Skip to content

Commit

Permalink
fix: 알림 리스트 deeplink 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
char-yb committed Oct 15, 2024
1 parent 32623bb commit b250f31
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public record FcmNotificationDto(
String imageUrl,
@Schema(description = "읽음 여부", example = "false") Boolean isRead,
@Schema(description = "타겟 ID", example = "1") Long targetId,
@Schema(description = "알림 딥링크 URL", example = "myapp://notification/1") String deepLink,
@Schema(description = "알림 전송 시간", example = "2024-08-17 13:31:19")
LocalDateTime createdAt) {

Expand All @@ -30,6 +31,7 @@ public static FcmNotificationDto from(
imageUrl,
notification.getIsRead(),
notification.getTargetId(),
notification.getDeepLink(),
notification.getCreatedAt());
}
}

0 comments on commit b250f31

Please sign in to comment.