Improvements for migrations (#2556)

* Fix wrong var name

* Add is null is not null filtering on dates

* Simplify
This commit is contained in:
martmull
2023-11-17 14:20:33 +01:00
committed by GitHub
parent e19e7a816f
commit dea1555031
5 changed files with 10 additions and 5 deletions

View File

@ -45,7 +45,7 @@ export const SettingsDevelopersApiKeys = () => {
const [apiKeys, setApiKeys] = useState<Array<ApiFieldItem>>([]);
useFindManyObjectRecords({
objectNamePlural: 'apiKeysV2',
/*filter: { revokedAt: { eq: null } },*/
filter: { revokedAt: { eq: null } },
onCompleted: (data) => {
setApiKeys(
formatExpirations(