mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-20 13:04:23 +02:00
undo stringify
This commit is contained in:
@@ -206,12 +206,9 @@
|
||||
var dialog = this.invoiceDialog
|
||||
console.log(this.sat, this.tposId)
|
||||
axios
|
||||
.post(
|
||||
'/tpos/api/v1/tposs/' + this.tposId + '/invoices',
|
||||
JSON.stringify({
|
||||
amount: this.sat
|
||||
})
|
||||
)
|
||||
.post('/tpos/api/v1/tposs/' + this.tposId + '/invoices', {
|
||||
amount: this.sat
|
||||
})
|
||||
.then(function (response) {
|
||||
console.log(response.data)
|
||||
dialog.data = response.data
|
||||
|
Reference in New Issue
Block a user