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