Skip to content

Commit

Permalink
Simplify api
Browse files Browse the repository at this point in the history
manelgavalda committed May 31, 2024
1 parent 9823356 commit 1e011a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/Pages/Dashboard.vue
Original file line number Diff line number Diff line change
@@ -319,9 +319,9 @@
axios.get('get-tokens').then(({data}) => {
this.debt = data.debt
this.btcPrice = data.bitcoinPrice.usd
this.ethPrice = data.ethereumPrice.usd
this.eurPrice = data.bitcoinPrice.eur / data.bitcoinPrice.usd
this.btcPrice = data.btcPrice
this.ethPrice = data.ethPrice
this.eurPrice = data.eurPrice
this.total = 0

0 comments on commit 1e011a1

Please sign in to comment.