diff --git a/src/services/getValueCrypto.js b/src/services/getValueCrypto.js index 26c8034..9018ab5 100644 --- a/src/services/getValueCrypto.js +++ b/src/services/getValueCrypto.js @@ -5,9 +5,9 @@ const getValueCrypto = async (crypto) => { if (!crypto) { return '' } else { - const url = `https://criptoya.com/api/bitso/${crypto}/cop` + const url = `https://criptoya.com/api/bitsoalpha/${crypto}/cop` const response = await axios.get(url) - const { data } = await response + const { data } = response return data } } catch (error) {