MCPcopy Create free account
hub / github.com/chavyleung/scripts / apiReloadAppSub

Function apiReloadAppSub

chavy.box.js:833–841  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

831}
832
833async function apiReloadAppSub() {
834 const sub = $.toObj($request.body)
835 if (sub) {
836 await reloadAppSubCache(sub.url)
837 } else {
838 await reloadAppSubCaches()
839 }
840 $.json = getBoxData()
841}
842
843async function apiDelGlobalBak() {
844 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