From 77318fc8f4981494d538d3b9e87f939ba3eaed7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rio=20Nunes?= Date: Thu, 7 Nov 2024 22:20:05 +0000 Subject: [PATCH] fix: duplicate discussions (#3995) --- src/stores/Discussions/discussions.store.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/Discussions/discussions.store.tsx b/src/stores/Discussions/discussions.store.tsx index 9ab48ef6e0..03ac154d4f 100644 --- a/src/stores/Discussions/discussions.store.tsx +++ b/src/stores/Discussions/discussions.store.tsx @@ -39,7 +39,7 @@ export class DiscussionStore extends ModuleStore { const discussions = toJS( await this.db .collection(DISCUSSIONS_COLLECTION) - .getWhere('sourceId', '==', sourceId, 1), + .getWhere('sourceId', '==', sourceId), ) const foundDiscussion = discussions