Commit 15b10383 authored by dev0tion's avatar dev0tion

Switch some API functions to mock API

parent e71cfa7e
......@@ -71,7 +71,7 @@ export class ApiService {
*/
getWalletBalance(): Observable<any> {
return this.http
.get(this.webApiUrl + '/wallet/balance')
.get(this.mockApiUrl + '/wallet/balance')
.map((response: Response) => response);
}
......@@ -80,7 +80,7 @@ export class ApiService {
*/
getWalletHistory(): Observable<any> {
return this.http
.get(this.webApiUrl + '/wallet/history')
.get(this.mockApiUrl + '/wallet/history')
.map((response: Response) => response);
}
......@@ -89,7 +89,7 @@ export class ApiService {
*/
getUnusedReceiveAddresses(): Observable<any> {
return this.http
.get(this.webApiUrl + '/wallet/receive')
.get(this.mockApiUrl + '/wallet/receive')
.map((response: Response) => response);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment