Skip to content

Commit 9288627

Browse files
authored
Merge pull request #121 from kjiyun/alarm
#120 Fix: Notification Response에서 코인 아이디 추가
2 parents 6b0fb82 + be255ee commit 9288627

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/java/com/memesphere/domain/notification/converter/NotificationConverter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public static NotificationResponse toNotificationCreateResponse(Notification not
3131
.stTime(notification.getStTime())
3232
.isRising(notification.getIsRising())
3333
.isOn(notification.getIsOn())
34+
.coinId(memeCoin.getId())
3435
.build();
3536
}
3637

src/main/java/com/memesphere/domain/notification/dto/response/NotificationResponse.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ public class NotificationResponse {
2828

2929
@Schema(description = "알림 켜기/끄기", example = "True")
3030
private Boolean isOn;
31+
32+
@Schema(description = "코인 아이디", example = "1")
33+
private Long coinId;
3134
}

0 commit comments

Comments
 (0)