MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / validateIcloudSession

Function validateIcloudSession

background.js:2953–2959  ·  view source on GitHub ↗
(setupUrl)

Source from the content-addressed store, hash-verified

2951}
2952
2953async function validateIcloudSession(setupUrl) {
2954 const data = await icloudRequest('POST', `${setupUrl}/validate`);
2955 if (!data?.webservices?.premiummailsettings?.url) {
2956 throw new Error('Could not validate iCloud session. Hide My Email service was unavailable.');
2957 }
2958 return data;
2959}
2960
2961async function resolveIcloudPremiumMailService() {
2962 const errors = [];

Callers 1

Calls 1

icloudRequestFunction · 0.85

Tested by

no test coverage detected