Skip to content

Commit

Permalink
changing endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
migulCode committed Oct 4, 2023
1 parent a035df2 commit 0c82edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/getValueCrypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c82edf

Please sign in to comment.