change endpoint url
This commit is contained in:
@@ -17,14 +17,14 @@ class Store {
|
|||||||
|
|
||||||
this.fetchNodeInfo()
|
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,
|
networkIdentifier: this.nodeInfo.networkIdentifier,
|
||||||
lastBlockID: this.nodeInfo.lastBlockID
|
lastBlockID: this.nodeInfo.lastBlockID
|
||||||
}).then((res) => this.userDataFetchChange(res)))
|
}).then((res) => this.userDataFetchChange(res)))
|
||||||
};
|
};
|
||||||
|
|
||||||
fetchCreateNewAccount() {
|
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,
|
networkIdentifier: this.nodeInfo.networkIdentifier,
|
||||||
lastBlockID: this.nodeInfo.lastBlockID
|
lastBlockID: this.nodeInfo.lastBlockID
|
||||||
}, [...this.encryptAccountData]).catch(()=>{})
|
}, [...this.encryptAccountData]).catch(()=>{})
|
||||||
|
|||||||
Reference in New Issue
Block a user