Skip to content

Commit

Permalink
Check exact events
Browse files Browse the repository at this point in the history
  • Loading branch information
jm42 committed Nov 26, 2024
1 parent e7a31c0 commit c56bfc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loaders/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export async function getInCommonEventsWithEvents(
receivedEvents != null &&
totalEvents != null &&
receivedEvents === totalEvents &&
Object.keys(inCommon.events).length > 0
Object.keys(inCommon.events).length === totalEvents
) {
resolve(inCommon)
} else {
Expand Down Expand Up @@ -549,7 +549,7 @@ export async function getInCommonEventsWithEvents(
receivedEvents != null &&
totalEvents != null &&
receivedEvents === totalEvents &&
Object.keys(inCommon.events).length > 0
Object.keys(inCommon.events).length === totalEvents
) {
resolved = true
inCommonStream.close()
Expand Down

0 comments on commit c56bfc7

Please sign in to comment.