({ domain, recipientId })
| 272 | }; |
| 273 | |
| 274 | const deleteDomain = async ({ domain, recipientId }) => { |
| 275 | const client = await createClient({ recipientId }); |
| 276 | const res = await client.deleteDomain(domain); |
| 277 | return res.status === 200 |
| 278 | ? res |
| 279 | : await checkExpiredSession(res, deleteDomain, domain); |
| 280 | }; |
| 281 | |
| 282 | const deleteMyAccount = async params => { |
| 283 | const { recipientId, password } = params; |
nothing calls this directly
no test coverage detected