MCPcopy
hub / github.com/chavyleung/scripts / apiReloadAppSub

Function apiReloadAppSub

chavy.box.js:778–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

776}
777
778async function apiReloadAppSub() {
779 const sub = $.toObj($request.body)
780 if (sub) {
781 await reloadAppSubCache(sub.url)
782 } else {
783 await reloadAppSubCaches()
784 }
785 $.json = getBoxData()
786}
787
788async function apiDelGlobalBak() {
789 const backup = $.toObj($request.body)

Callers

nothing calls this directly

Calls 4

reloadAppSubCacheFunction · 0.70
reloadAppSubCachesFunction · 0.70
getBoxDataFunction · 0.70
toObjMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…