(response)
| 244 | if (isSurge) return $persistentStore.read(key) |
| 245 | } |
| 246 | const adapterStatus = (response) => { |
| 247 | if (response) { |
| 248 | if (response.status) { |
| 249 | response["statusCode"] = response.status |
| 250 | } else if (response.statusCode) { |
| 251 | response["status"] = response.statusCode |
| 252 | } |
| 253 | } |
| 254 | return response |
| 255 | } |
| 256 | const get = (options, callback) => { |
| 257 | if (isQuanX) { |
| 258 | if (typeof options == "string") options = { url: options } |