MCPcopy Index your code
hub / github.com/chavyleung/scripts / apiDeleteAppSub

Function apiDeleteAppSub

chavy.box.js:769–776  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

767}
768
769async function apiDeleteAppSub() {
770 const sub = $.toObj($request.body)
771 // 添加订阅
772 const usercfgs = getUserCfgs()
773 usercfgs.appsubs = usercfgs.appsubs.filter((e) => e.url !== sub.url)
774 $.setjson(usercfgs, $.KEY_usercfgs)
775 $.json = getBoxData()
776}
777
778async function apiReloadAppSub() {
779 const sub = $.toObj($request.body)

Callers

nothing calls this directly

Calls 4

getUserCfgsFunction · 0.70
getBoxDataFunction · 0.70
toObjMethod · 0.45
setjsonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…