MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / deleteDomain

Function deleteDomain

electron_app/src/clientManager.js:274–280  ·  view source on GitHub ↗
({ domain, recipientId })

Source from the content-addressed store, hash-verified

272};
273
274const 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
282const deleteMyAccount = async params => {
283 const { recipientId, password } = params;

Callers

nothing calls this directly

Calls 2

createClientFunction · 0.70
checkExpiredSessionFunction · 0.70

Tested by

no test coverage detected