refactor: use core currency and rate endpoints (#93)

This commit is contained in:
dni ⚡ 2025-08-14 12:12:14 +02:00 committed by GitHub
commit 0cf2df2dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 17 deletions

View file

@ -239,7 +239,7 @@ window.app = Vue.createApp({
},
updateFiatRate(currency) {
LNbits.api
.request('GET', '/lnurlp/api/v1/rate/' + currency, null)
.request('GET', '/api/v1/rate/' + currency, null)
.then(response => {
let rates = _.clone(this.fiatRates)
rates[currency] = response.data.rate