undo stringify
This commit is contained in:
parent
683f138f1b
commit
0a85bae405
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user