Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Jan 16, 2024
1 parent 035abff commit 2a5b38e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/handlers/events-subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 0 additions & 1 deletion tests/scenarios/subscriptions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export function testSubscriptionScenarios(): void {
const receivedMessages:string[] = [];

const handler = async (message:GenericMessage): Promise<void> => {
console.log('got message??', message);
const messageCid = await Message.getCid(message);
receivedMessages.push(messageCid);
};
Expand Down

0 comments on commit 2a5b38e

Please sign in to comment.