(response)
| 276 | if (isHTTP) return $persistentStore.read(key); |
| 277 | } |
| 278 | const adapterStatus = (response) => { |
| 279 | if (!response) return null; |
| 280 | if (response.status) { |
| 281 | response["statusCode"] = response.status; |
| 282 | } else if (response.statusCode) { |
| 283 | response["status"] = response.statusCode; |
| 284 | } |
| 285 | return response; |
| 286 | } |
| 287 | const getPolicy = (groupName) => { |
| 288 | if (isSurge) { |
| 289 | if (typeof ($httpAPI) === 'undefined') return 3; |