From effd08f97631a49893d0e9e93609e9a5e4edd46d Mon Sep 17 00:00:00 2001 From: G Date: Sat, 4 May 2024 21:40:32 +0330 Subject: [PATCH] ticket optimising --- src/features/ticket/ticket.service.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/features/ticket/ticket.service.ts b/src/features/ticket/ticket.service.ts index 0c7f0b445..8f581a334 100644 --- a/src/features/ticket/ticket.service.ts +++ b/src/features/ticket/ticket.service.ts @@ -226,6 +226,13 @@ export class TicketService { // signatures: IsNull(), // }, }, + select: { + need: { + id: true, + flaskId: true, + name: true, + }, + }, }); } getUserOnlyArrivalTickets(flaskUserId: number): Promise {