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

Function adapterStatus

iQIYI-DailyBonus/iQIYI.js:424–433  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

422 if (isSurge) return $persistentStore.read(key)
423 }
424 const adapterStatus = (response) => {
425 if (response) {
426 if (response.status) {
427 response["statusCode"] = response.status
428 } else if (response.statusCode) {
429 response["status"] = response.statusCode
430 }
431 }
432 return response
433 }
434 const get = (options, callback) => {
435 if (isQuanX) {
436 if (typeof options == "string") options = {

Callers 2

getFunction · 0.70
postFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected