MCPcopy Create free account
hub / github.com/Moli-X/Other / apiSaveData

Function apiSaveData

Backups/KeLee/Resource/Script/BoxJS/BoxJS.js:731–738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

729}
730
731async function apiSaveData() {
732 const { key: dataKey, val: dataVal } = $.toObj($request.body)
733 $.setdata(dataVal, dataKey)
734 $.json = {
735 key: dataKey,
736 val: $.getdata(dataKey)
737 }
738}
739
740/**
741 * ===================================

Callers 1

handleApiFunction · 0.85

Calls 3

toObjMethod · 0.45
setdataMethod · 0.45
getdataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…