summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-04-17 10:03:15 +0200
committerErik Larkö <erik@mullvad.net>2017-04-17 10:03:15 +0200
commite515cd8f97cc5597a870d0f776a1a1b4da52da61 (patch)
tree5e1e5ca2fd9c005b21d958db28f527d0b17094aa /app/lib
parent24302c4273bd23e19ce61f8cccd55bb4671485ce (diff)
parent14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f (diff)
downloadmullvadvpn-e515cd8f97cc5597a870d0f776a1a1b4da52da61.tar.xz
mullvadvpn-e515cd8f97cc5597a870d0f776a1a1b4da52da61.zip
Merge branch 'updated-jsonrpc-methods'
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js4
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 = {