From 491012444569056eed976a2ddb466fe385f1a53b Mon Sep 17 00:00:00 2001 From: Praneeth Shetty Date: Wed, 14 Aug 2024 00:33:46 +0530 Subject: [PATCH] fixing linear issue sync --- packages/api/src/ticketing/ticket/services/linear/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/ticketing/ticket/services/linear/index.ts b/packages/api/src/ticketing/ticket/services/linear/index.ts index 724cce27a..c979de927 100644 --- a/packages/api/src/ticketing/ticket/services/linear/index.ts +++ b/packages/api/src/ticketing/ticket/services/linear/index.ts @@ -71,7 +71,7 @@ export class LinearService implements ITicketService { )}`, }, }); - + this.logger.log(`Created linear ticket !`); return { data: resp.data.data.issueCreate.issue, @@ -111,7 +111,7 @@ export class LinearService implements ITicketService { this.logger.log(`Synced linear tickets !`); return { - data: resp.data.data.users.nodes, + data: resp.data.data.issues.nodes, message: 'Linear tickets retrieved', statusCode: 200, };