summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-06-09 15:49:48 +0200
committerErik Larkö <erik@mullvad.net>2017-06-09 15:49:48 +0200
commita4eca7c967d54a26d69b7e4a2f9c38b4580aea5e (patch)
treeba1f3616f49d4ce5364c5f8e71038ebcc75db6f8
parent56c25917c793a3c2802d5fbfd53133ec25e62ff9 (diff)
downloadmullvadvpn-a4eca7c967d54a26d69b7e4a2f9c38b4580aea5e.tar.xz
mullvadvpn-a4eca7c967d54a26d69b7e4a2f9c38b4580aea5e.zip
Use `validated/object` to validate the IPC responses
-rw-r--r--app/lib/ipc-facade.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/ipc-facade.js b/app/lib/ipc-facade.js
index e24a89dd65..f82c0a326a 100644
--- a/app/lib/ipc-facade.js
+++ b/app/lib/ipc-facade.js
@@ -2,7 +2,7 @@
import JsonRpcWs, { InvalidReply } from './jsonrpc-ws-ipc';
import { object, string, number, arrayOf } from 'validated/schema';
-import { validate } from 'validated/json5';
+import { validate } from 'validated/object';
export type AccountData = {paid_until: string};
export type AccountNumber = string;