[Problem/Question]
// Detailed description of issue.
I am having problem fetching the ticket list when i call the function of
Ticket.getAllTickets
// If problem, please fill out the below. If question, please delete.
[4.12.4]
// What version of the SDK are you using?
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
Ticket.getAllTickets(10, (tickets, error) => {
if (error) {
// Handle error.
console.log(error);
return;
}
setTicketList(tickets);
console.log(“ticketList”, tickets);
// offset += tickets.length; for the next tickets.
// Implement your code to display the ticket list.
});
[Frequency]
// How frequently is this issue occurring?
[Current impact]
// How is this currently impacting your implementation?