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

Function loadRepairCatalog

static/js/selfcheck.js:241–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239}
240
241async function loadRepairCatalog() {
242 try {
243 const data = await api.get('/selfcheck/repairs', { requestKey: 'selfcheck-repairs', cancelPrevious: true });
244 selfcheckState.repairCatalog = data?.repairs || {};
245 } catch (error) {
246 selfcheckState.repairCatalog = {};
247 }
248}
249
250async function loadScheduleAndRuntime() {
251 const data = await api.get('/selfcheck/schedule', { requestKey: 'selfcheck-schedule', cancelPrevious: true, silentNetworkError: true, priority: 'low' });

Callers 1

initSelfcheckPageFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected