refactor(infra): simplify toListItemDTO pendingConfirmation projection
This commit is contained in:
1 parent
0929d4f0b7
commit
fc86b5f7d1
1 file changed
+1
-1
@@ -54,6 +54,6 @@ export function toListItemDTO(
|
||||
description: state.description,
|
||||
mailbox_id: state.mailboxId,
|
||||
expires_at: state.expiresAt,
|
||||
...(pendingConfirmation !== undefined ? { pendingConfirmation } : {}),
|
||||
pendingConfirmation,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user