mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 15:40:47 +00:00
Greptile review fixes
This commit is contained in:
@@ -305,7 +305,7 @@ export const useClearIdentityUniversalAuthLockouts = () => {
|
||||
},
|
||||
onSuccess: (_, { identityId }) => {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: identitiesKeys.clearIdentityUniversalAuthLockouts(identityId)
|
||||
queryKey: identitiesKeys.getIdentityUniversalAuth(identityId)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -49,9 +49,7 @@ export const identitiesKeys = {
|
||||
getIdentityTokensTokenAuth: (identityId: string) =>
|
||||
[{ identityId }, "identity-tokens-token-auth"] as const,
|
||||
getIdentityProjectMemberships: (identityId: string) =>
|
||||
[{ identityId }, "identity-project-memberships"] as const,
|
||||
clearIdentityUniversalAuthLockouts: (identityId: string) =>
|
||||
[{ identityId }, "clear-identity-universal-auth-lockouts"] as const
|
||||
[{ identityId }, "identity-project-memberships"] as const
|
||||
};
|
||||
|
||||
export const useGetIdentityById = (identityId: string) => {
|
||||
|
||||
Reference in New Issue
Block a user