diff --git a/src/infrastructure/feed-mapper.ts b/src/infrastructure/feed-mapper.ts index e2d2ec7..1a74f17 100644 --- a/src/infrastructure/feed-mapper.ts +++ b/src/infrastructure/feed-mapper.ts @@ -54,6 +54,6 @@ export function toListItemDTO( description: state.description, mailbox_id: state.mailboxId, expires_at: state.expiresAt, - ...(pendingConfirmation !== undefined ? { pendingConfirmation } : {}), + pendingConfirmation, }; }