Fix configuration page errors (#24)
Some checks failed
/ release (push) Has been cancelled
Tests / test (push) Has been cancelled
/ pullrequest (push) Has been cancelled

This commit is contained in:
blackcoffeexbt 2026-01-12 11:35:43 +00:00 • committed by GitHub
commit 2b322863ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View file

@ -30,11 +30,7 @@ window.app = Vue.createApp({
fetchConfig() {
this.entries = []
LNbits.api
.request(
'GET',
'/nwcprovider/api/v1/config',
this.g.user.wallets[0].adminkey
)
.request('GET', '/nwcprovider/api/v1/config')
.then(response => {
this.config = response.data
console.log('Config fetched:', this.config)
@ -53,7 +49,7 @@ window.app = Vue.createApp({
const response = await LNbits.api.request(
'POST',
'/nwcprovider/api/v1/config',
this.g.user.wallets[0].adminkey,
null,
data
)
Quasar.Notify.create({

0
static/routes.json Normal file
View file