From b5f9fbc558bd4916b9d926090228cf55ffa8c3d6 Mon Sep 17 00:00:00 2001 From: gustavo-gsp Date: Fri, 14 Jun 2024 12:16:59 -0300 Subject: [PATCH] fix: return pageNumber value on GET /tickets --- backend/src/controllers/TicketController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/TicketController.ts b/backend/src/controllers/TicketController.ts index da1399d..a54ed06 100644 --- a/backend/src/controllers/TicketController.ts +++ b/backend/src/controllers/TicketController.ts @@ -118,7 +118,7 @@ export const index = async (req: Request, res: Response): Promise => { return res .status(200) - .json({ tickets, count, hasMore, remoteTicketsControll }); + .json({ tickets, count, hasMore, remoteTicketsControll, pageNumber }); }; export const remoteTicketCreation = async (