undo stringify

This commit is contained in:
Tiago vasconcelos 2021-10-07 11:01:26 +01:00
parent 683f138f1b
commit 0a85bae405

View File

@ -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