chore: code format
This commit is contained in:
parent
5d906c1fda
commit
d74776ee93
1 changed files with 16 additions and 12 deletions
|
|
@ -405,7 +405,10 @@
|
|||
)
|
||||
console.log('### data', data)
|
||||
this.testData.senderPrivateKey = data.private_key
|
||||
this.$q.localStorage.set('lnbits.nostrclient.senderPrivateKey', data.private_key || '')
|
||||
this.$q.localStorage.set(
|
||||
'lnbits.nostrclient.senderPrivateKey',
|
||||
data.private_key || ''
|
||||
)
|
||||
const event = JSON.parse(data.event_json)[1]
|
||||
console.log('### event', event)
|
||||
this.sendDataToWebSocket(data.event_json)
|
||||
|
|
@ -447,7 +450,6 @@
|
|||
// const data = JSON.parse(e.data)
|
||||
console.log('### onclose', e.data)
|
||||
}
|
||||
|
||||
},
|
||||
exportlnurldeviceCSV: function () {
|
||||
var self = this
|
||||
|
|
@ -458,7 +460,9 @@
|
|||
var self = this
|
||||
this.getRelays()
|
||||
setInterval(this.getRelays, 5000)
|
||||
this.testData.senderPrivateKey = this.$q.localStorage.getItem('lnbits.nostrclient.senderPrivateKey') || ''
|
||||
this.testData.senderPrivateKey =
|
||||
this.$q.localStorage.getItem('lnbits.nostrclient.senderPrivateKey') ||
|
||||
''
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue