chore: code format

This commit is contained in:
Vlad Stan 2023-05-05 13:01:07 +03:00
parent 5d906c1fda
commit d74776ee93

View file

@ -405,7 +405,10 @@
) )
console.log('### data', data) console.log('### data', data)
this.testData.senderPrivateKey = data.private_key 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] const event = JSON.parse(data.event_json)[1]
console.log('### event', event) console.log('### event', event)
this.sendDataToWebSocket(data.event_json) this.sendDataToWebSocket(data.event_json)
@ -447,7 +450,6 @@
// const data = JSON.parse(e.data) // const data = JSON.parse(e.data)
console.log('### onclose', e.data) console.log('### onclose', e.data)
} }
}, },
exportlnurldeviceCSV: function () { exportlnurldeviceCSV: function () {
var self = this var self = this
@ -458,7 +460,9 @@
var self = this var self = this
this.getRelays() this.getRelays()
setInterval(this.getRelays, 5000) 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> </script>