summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-04-12 20:03:25 +0200
committerErik Larkö <erik@mullvad.net>2017-04-12 20:07:55 +0200
commit14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f (patch)
tree5e1e5ca2fd9c005b21d958db28f527d0b17094aa /app/lib
parent24302c4273bd23e19ce61f8cccd55bb4671485ce (diff)
downloadmullvadvpn-14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f.tar.xz
mullvadvpn-14e3430aa208a6fb1b0fbbcd94f1ed5a6abc8a4f.zip
Updated jsonrpc methods after changes in the backend
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 = {