MCPcopy Create free account
hub / github.com/NobyDa/Script / adapterStatus

Function adapterStatus

BDTieBa-DailyBonus/TieBa.js:262–271  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

260 if (isSurge) return $persistentStore.read(key)
261 }
262 const adapterStatus = (response) => {
263 if (response) {
264 if (response.status) {
265 response["statusCode"] = response.status
266 } else if (response.statusCode) {
267 response["status"] = response.statusCode
268 }
269 }
270 return response
271 }
272 const get = (options, callback) => {
273 if (isQuanX) {
274 if (typeof options == "string") options = {

Callers 2

getFunction · 0.70
postFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected