Compare commits
2 Commits
1a85d20b8e
...
f9faca55bb
| Author | SHA1 | Date | |
|---|---|---|---|
| f9faca55bb | |||
| 1b75ad14fb |
@@ -1224,7 +1224,7 @@ function populateKanbanCards() {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
credentials: 'same-origin',
|
credentials: 'same-origin',
|
||||||
headers: { 'Content-Type': 'application/json', 'X-CSRF-Token': window.CSRF_TOKEN || '' },
|
headers: { 'Content-Type': 'application/json', 'X-CSRF-Token': window.CSRF_TOKEN || '' },
|
||||||
body: JSON.stringify({ ticket_id: parseInt(ticketId, 10), status: newStatus })
|
body: JSON.stringify({ ticket_id: String(ticketId), status: newStatus })
|
||||||
})
|
})
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
|
|||||||
Reference in New Issue
Block a user