mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
fix(getUsd): Updating endpoint
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class Price {
|
|||||||
async getUsd () {
|
async getUsd () {
|
||||||
try {
|
try {
|
||||||
const response = await this.axios.get(
|
const response = await this.axios.get(
|
||||||
`${this.restURL}price/usd`,
|
`${this.restURL}price/bchusd`,
|
||||||
this.axiosOptions
|
this.axiosOptions
|
||||||
)
|
)
|
||||||
// console.log(`response.data: ${JSON.stringify(response.data, null, 2)}`)
|
// console.log(`response.data: ${JSON.stringify(response.data, null, 2)}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user