( workspaceId: string, newUsername: string )
| 136 | * 2. Enable new inbox with new username |
| 137 | */ |
| 138 | export async function updateInboxAddress( |
| 139 | workspaceId: string, |
| 140 | newUsername: string |
| 141 | ): Promise<InboxConfig> { |
| 142 | await disableInbox(workspaceId) |
| 143 | return enableInbox(workspaceId, { username: newUsername }) |
| 144 | } |
no test coverage detected