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

Function isAccountAllocatable

background.js:1423–1426  ·  view source on GitHub ↗
(candidate)

Source from the content-addressed store, hash-verified

1421 const state = await getState();
1422 const accounts = normalizeHotmailAccounts(state.hotmailAccounts);
1423 const isAccountAllocatable = (candidate) => Boolean(candidate)
1424 && candidate.status === 'authorized'
1425 && !candidate.used
1426 && Boolean(candidate.refreshToken);
1427
1428 let account = null;
1429 if (preferredAccountId) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected