diff --git a/packages/utils/src/queries/filter.ts b/packages/utils/src/queries/filter.ts index 921f691..01b50b4 100644 --- a/packages/utils/src/queries/filter.ts +++ b/packages/utils/src/queries/filter.ts @@ -26,7 +26,7 @@ export function createEqFilter( key: string, value?: V, ): FieldFilter> { - return value ? createField>('key', { _eq: value }) : {}; + return value ? createField>(key, { _eq: value }) : {}; } export function createNeqFilter(