Skip to content

Commit

Permalink
fix: duplicate discussions (#3995)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes authored Nov 7, 2024
1 parent 6bfb035 commit 77318fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/Discussions/discussions.store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class DiscussionStore extends ModuleStore {
const discussions = toJS(
await this.db
.collection<IDiscussion>(DISCUSSIONS_COLLECTION)
.getWhere('sourceId', '==', sourceId, 1),
.getWhere('sourceId', '==', sourceId),
)

const foundDiscussion = discussions
Expand Down

0 comments on commit 77318fc

Please sign in to comment.