modify the ticket agent list api
parent
aefe3bb3e2
commit
0aa5db7547
|
@ -109,12 +109,14 @@ const TicketAggent = ({ setRedirect, setRedirectUrl, t }) => {
|
|||
useEffect(() => {
|
||||
let isResponseOK = false;
|
||||
// Get Ticket List
|
||||
fetch(APIBaseURL + '/ticket/list', {
|
||||
method: 'GET',
|
||||
fetch(APIBaseURL + '/ticket/list/agent', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-type': 'application/json'
|
||||
},
|
||||
body: null
|
||||
body: JSON.stringify({
|
||||
user_name: 'admin'
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
console.log(response);
|
||||
|
|
Loading…
Reference in New Issue