MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / saveBillingTemplates

Function saveBillingTemplates

static/js/payment.js:770–773  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

768}
769
770function saveBillingTemplates(list) {
771 const safeList = Array.isArray(list) ? list.slice(0, BILLING_TEMPLATE_MAX) : [];
772 storage.set(BILLING_TEMPLATE_STORAGE_KEY, safeList);
773}
774
775function normalizeTemplateData(data) {
776 const source = data && typeof data === "object" ? data : {};

Callers 3

saveCurrentAsTemplateFunction · 0.85
deleteSelectedTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected