From f43306b50778c9352add9e1902028f223122ef76 Mon Sep 17 00:00:00 2001 From: So Hyeon Date: Tue, 28 May 2024 02:21:33 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20groupId=20object=20=EC=9D=B4=EC=8A=88?= =?UTF-8?q?=EA=B0=80..=20(#38)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/event/event.repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/event.repository.ts b/src/event/event.repository.ts index a6fc620..08b4a92 100644 --- a/src/event/event.repository.ts +++ b/src/event/event.repository.ts @@ -56,7 +56,7 @@ export class EventRepository { $and: [ { $gte: ['$timestamp', '$$startDate'] }, { $lte: ['$timestamp', '$$endDate'] }, - { $eq: ['$metadata.groupId', groupId] }, + { $eq: ['$metadata.groupId', String(groupId)] }, { $eq: ['$metadata.name', '$$member_name'] }, { $eq: ['$metadata.amount', '$$fee_amount'] }, ],