undo stringify
This commit is contained in:
parent
683f138f1b
commit
0a85bae405
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue