fix: not able to filter by nullable values (#2580)
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -50,7 +50,7 @@ export const SettingsDevelopersApiKeys = () => {
|
||||
const { foundObjectMetadataItem } = useFindOneObjectMetadataItem({
|
||||
objectNameSingular: 'apiKey',
|
||||
});
|
||||
const filter = { revokedAt: { eq: null } };
|
||||
const filter = { revokedAt: { is: 'NULL' } };
|
||||
useFindManyObjectRecords({
|
||||
objectNamePlural: 'apiKeys',
|
||||
filter,
|
||||
|
||||
Reference in New Issue
Block a user