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

Function listLuckmailPurchasesByProject

background.js:2258–2263  ·  view source on GitHub ↗
(state, options = {})

Source from the content-addressed store, hash-verified

2256}
2257
2258async function listLuckmailPurchasesByProject(state, options = {}) {
2259 const projectCode = normalizeLuckmailProjectName(options.projectCode || DEFAULT_LUCKMAIL_PROJECT_CODE)
2260 || DEFAULT_LUCKMAIL_PROJECT_CODE;
2261 const purchases = await getAllLuckmailPurchases(state, options);
2262 return purchases.filter((purchase) => isLuckmailPurchaseForProject(purchase, projectCode));
2263}
2264
2265async function getLuckmailPurchaseById(state, purchaseId, options = {}) {
2266 const normalizedPurchaseId = Number(normalizeLuckmailPurchaseId(purchaseId)) || 0;

Calls 3

getAllLuckmailPurchasesFunction · 0.85

Tested by

no test coverage detected