From 29d7d6fdb82c002d8968409c824c94e782f6c561 Mon Sep 17 00:00:00 2001 From: kandrusyak Date: Tue, 5 Jul 2022 15:12:22 +0300 Subject: [PATCH] change endpoint url --- src/store/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/store.js b/src/store/store.js index 390588c..1ee0ac4 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -17,14 +17,14 @@ class Store { this.fetchNodeInfo() - reaction(() => this.tokenKey, () => fetchWrapper.getAuth('http://3.125.47.101/api/data/account', { + reaction(() => this.tokenKey, () => fetchWrapper.getAuth('http://3.125.47.101/api/data/private', { networkIdentifier: this.nodeInfo.networkIdentifier, lastBlockID: this.nodeInfo.lastBlockID }).then((res) => this.userDataFetchChange(res))) }; fetchCreateNewAccount() { - fetchWrapper.postAuth('http://3.125.47.101/api/data/account', { + fetchWrapper.postAuth('http://3.125.47.101/api/data/private', { networkIdentifier: this.nodeInfo.networkIdentifier, lastBlockID: this.nodeInfo.lastBlockID }, [...this.encryptAccountData]).catch(()=>{})