fix: restore default exchanges (#3613)
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
@@ -70,6 +70,11 @@ window.app.component('lnbits-admin-exchange-providers', {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getDefaultSetting(fieldName) {
|
||||
LNbits.api.getDefaultSetting(fieldName).then(response => {
|
||||
this.formData[fieldName] = response.data.default_value
|
||||
})
|
||||
},
|
||||
getExchangeRateHistory() {
|
||||
LNbits.api
|
||||
.request('GET', '/api/v1/rate/history', this.g.user.wallets[0].inkey)
|
||||
|
||||
Reference in New Issue
Block a user