Skip to content

Commit

Permalink
Bad typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jm42 committed Apr 20, 2024
1 parent 0e79b1d commit c510e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/queries/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function createEqFilter<V = Value>(
key: string,
value?: V,
): FieldFilter<EqFilter<V>> {
return value ? createField<EqFilter<V>>('key', { _eq: value }) : {};
return value ? createField<EqFilter<V>>(key, { _eq: value }) : {};
}

export function createNeqFilter<V = Value>(
Expand Down

0 comments on commit c510e46

Please sign in to comment.