fix(gift): 누락된 발신자 푸시를 보완하고 가격 스냅샷을 검증한다
This commit is contained in:
+1
@@ -85,6 +85,7 @@ class GiftScheduler(
|
||||
gift.status = GiftStatus.UNDELIVERABLE
|
||||
delivery.undeliverableAt = now
|
||||
delivery.undeliverableReason = EXPIRED_RECIPIENT_ADDRESS_REASON
|
||||
giftPushService.sendUndeliverableToSender(gift.applicationNo, gift.senderMemberId)
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,6 +301,7 @@ class GiftCommandService(
|
||||
|
||||
gift.status = GiftStatus.DELIVERED
|
||||
delivery.deliveredAt = deliveredAt
|
||||
giftPushService.sendDeliveredToSender(gift.applicationNo, gift.senderMemberId)
|
||||
|
||||
return GiftDeliveryConfirmationResult(
|
||||
applicationNo = gift.applicationNo,
|
||||
|
||||
Reference in New Issue
Block a user