Skip to content

Commit

Permalink
fix: remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Aug 25, 2024
1 parent 99393fb commit d37b2b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/graphql/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ export function buildWhereQuery(
params.push(fieldLte);
}
}

if (type === 'boolean') {
query += `AND ${alias}.${field} = ? `;
params.push(where[field] ? '1' : '0');
}
});
return { query, params };
}
Expand Down

0 comments on commit d37b2b9

Please sign in to comment.