From 2a5b38e80bb1877b746b7571988c6d5138716b9a Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Tue, 16 Jan 2024 18:58:11 -0500 Subject: [PATCH] remove console logs --- src/handlers/events-subscribe.ts | 1 - tests/scenarios/subscriptions.spec.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/handlers/events-subscribe.ts b/src/handlers/events-subscribe.ts index e7b06b213..52d6ce24a 100644 --- a/src/handlers/events-subscribe.ts +++ b/src/handlers/events-subscribe.ts @@ -53,7 +53,6 @@ export class EventsSubscribeHandler implements MethodHandler { const messageCid = await Message.getCid(message); const listener: EventListener = (eventTenant, eventMessage, eventIndexes):void => { - console.log('got from listener', eventMessage, eventIndexes, eventsFilters); if (tenant === eventTenant && FilterUtility.matchAnyFilter(eventIndexes, eventsFilters)) { handler(eventMessage); } diff --git a/tests/scenarios/subscriptions.spec.ts b/tests/scenarios/subscriptions.spec.ts index 9a29602fa..d75a8d640 100644 --- a/tests/scenarios/subscriptions.spec.ts +++ b/tests/scenarios/subscriptions.spec.ts @@ -210,7 +210,6 @@ export function testSubscriptionScenarios(): void { const receivedMessages:string[] = []; const handler = async (message:GenericMessage): Promise => { - console.log('got message??', message); const messageCid = await Message.getCid(message); receivedMessages.push(messageCid); };