MCPcopy Index your code
hub / github.com/NobyDa/Script / adapterStatus

Function adapterStatus

JD-DailyBonus/JD_DailyBonus.js:1846–1855  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

1844 }
1845 }
1846 const adapterStatus = (response) => {
1847 if (response) {
1848 if (response.status) {
1849 response["statusCode"] = response.status
1850 } else if (response.statusCode) {
1851 response["status"] = response.statusCode
1852 }
1853 }
1854 return response
1855 }
1856 const get = (options, callback) => {
1857 options.headers['User-Agent'] = 'JD4iPhone/167169 (iPhone; iOS 13.4.1; Scale/3.00)'
1858 if (isQuanX) {

Callers 2

getFunction · 0.70
postFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected