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

Function doneQuery

chavy.box.js:1250–1255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1248}
1249
1250function doneQuery() {
1251 $.json = $.toStr($.json)
1252 const headers = getJsonDoneHeaders()
1253 if ($.isQuanX()) $.done({ status: 'HTTP/1.1 200', headers, body: $.json })
1254 else $.done({ response: { status: 200, headers, body: $.json } })
1255}
1256
1257function doneApi() {
1258 $.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