Skip to content

Commit

Permalink
HARMONY-1998: Fix null case
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyinverso committed Feb 6, 2025
1 parent c6599c4 commit b4ab3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/harmony/app/models/work-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export async function queryAll(
if (constraint.in) {
void queryBuilder.whereIn(field, constraint.values);
} else {
void queryBuilder.whereNotIn(field, constraint.values);
void queryBuilder.where(builder => builder.whereNotIn(field, constraint.values).orWhereNull(field));
}
}
}
Expand Down

0 comments on commit b4ab3cc

Please sign in to comment.