(scope, accountId)
| 92 | } |
| 93 | |
| 94 | export function removeProxy(scope, accountId) { |
| 95 | if (scope === 'global') { |
| 96 | _config.global = null; |
| 97 | } else if (scope === 'account' && accountId) { |
| 98 | delete _config.perAccount[accountId]; |
| 99 | } |
| 100 | save(); |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Get effective proxy for an account (per-account takes priority over global). |
no test coverage detected