fix(gift): 전달 완료 전 사서함 주소를 노출한다
This commit is contained in:
@@ -251,7 +251,7 @@ class GiftQueryService(
|
||||
}
|
||||
|
||||
private fun mailboxFor(direction: GiftDirection, status: GiftStatus): GiftMailboxResult? {
|
||||
if (direction != GiftDirection.SENT || status != GiftStatus.RECEIVED) return null
|
||||
if (direction != GiftDirection.SENT || status in TERMINAL_STATUSES) return null
|
||||
return giftMailboxRepository.findByIdOrNull(GiftMailbox.SINGLETON_ID)?.let {
|
||||
GiftMailboxResult(
|
||||
name = it.name,
|
||||
|
||||
Reference in New Issue
Block a user