diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-04-12 20:03:25 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-04-12 20:07:55 +0200 |
| commit | 14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f (patch) | |
| tree | 5e1e5ca2fd9c005b21d958db28f527d0b17094aa | |
| parent | 24302c4273bd23e19ce61f8cccd55bb4671485ce (diff) | |
| download | mullvadvpn-14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f.tar.xz mullvadvpn-14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f.zip | |
Updated jsonrpc methods after changes in the backend
| -rw-r--r-- | app/lib/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 3ebb75e813..d259f78318 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -195,7 +195,7 @@ export default class Backend extends EventEmitter { sync() { console.log('Syncing with the backend...'); - this._ipc.send('getConnectionInfo') + this._ipc.send('get_connection') .then( connectionInfo => { console.log('Got connection info', connectionInfo); this.emit(Backend.EventType.updatedIp, connectionInfo.ip); @@ -204,7 +204,7 @@ export default class Backend extends EventEmitter { console.log('Failed syncing with the backend', e); }); - this._ipc.send('getLocation') + this._ipc.send('get_location') .then(location => { console.log('Got location', location); const newLocation = { |
