diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-12-04 17:54:32 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-12-06 11:48:40 +0100 |
| commit | 7d9097c3d9f36229eac341bd7a932d72fa6a7828 (patch) | |
| tree | 19c52dac3587b19bdae35dd1383ad954c8293c22 /app/lib | |
| parent | 8f44246ede3a8b8e01c457903e4b940abbbb5752 (diff) | |
| download | mullvadvpn-7d9097c3d9f36229eac341bd7a932d72fa6a7828.tar.xz mullvadvpn-7d9097c3d9f36229eac341bd7a932d72fa6a7828.zip | |
Remove unused Backend._apiToReduxConstraints
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/backend.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index a460a9f104..778997fa38 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -373,14 +373,6 @@ export class Backend { .catch(e => log.info('Failed to fetch account history,', e.message)); } - _apiToReduxConstraints(constraint: *): * { - if (typeof(constraint) === 'object') { - return constraint.only; - } else { - return constraint; - } - } - /** * Start reachability monitoring for online/offline detection * This is currently done via HTML5 APIs but will be replaced later |
