Skip to content

Commit a1d3806

Browse files
authored
Merge pull request #15 from rolling-scopes/development
fix: aggregatedWord group filtering
2 parents a51005c + 26bd107 commit a1d3806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/aggregatedWords/aggregatedWord.db.repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const getAll = async (userId, group, perPage, filter) => {
4949

5050
const matches = [];
5151

52-
if (!group && group !== 0) {
52+
if (group || group === 0) {
5353
matches.push({
5454
$match: {
5555
group

0 commit comments

Comments
 (0)