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

Function doneQuery

box/chavy.boxjs.js:1248–1253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1246}
1247
1248function doneQuery() {
1249 $.json = $.toStr($.json)
1250 const headers = getJsonDoneHeaders()
1251 if ($.isQuanX()) $.done({ status: 'HTTP/1.1 200', headers, body: $.json })
1252 else $.done({ response: { status: 200, headers, body: $.json } })
1253}
1254
1255function doneApi() {
1256 $.json = $.toStr($.json)

Callers 1

doneBoxFunction · 0.70

Calls 4

getJsonDoneHeadersFunction · 0.70
toStrMethod · 0.45
isQuanXMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected