mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 15:41:27 +00:00
Merge remote-tracking branch 'origin/main' into feat/gcp-secret-sync
This commit is contained in:
@@ -923,7 +923,7 @@ export const useAddIdentityTokenAuth = () => {
|
||||
});
|
||||
queryClient.invalidateQueries({ queryKey: identitiesKeys.getIdentityById(identityId) });
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: identitiesKeys.getIdentityUniversalAuth(identityId)
|
||||
queryKey: identitiesKeys.getIdentityTokenAuth(identityId)
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -959,7 +959,7 @@ export const useUpdateIdentityTokenAuth = () => {
|
||||
});
|
||||
queryClient.invalidateQueries({ queryKey: identitiesKeys.getIdentityById(identityId) });
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: identitiesKeys.getIdentityUniversalAuth(identityId)
|
||||
queryKey: identitiesKeys.getIdentityTokenAuth(identityId)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -182,7 +182,7 @@ export const queryClient = new QueryClient({
|
||||
createNotification({
|
||||
title: "Bad Request",
|
||||
type: "error",
|
||||
text: `${serverResponse.message}${serverResponse.message.endsWith(".") ? "" : "."}`,
|
||||
text: `${serverResponse.message}${serverResponse.message?.endsWith(".") ? "" : "."}`,
|
||||
copyActions: [
|
||||
{
|
||||
value: serverResponse.reqId,
|
||||
|
||||
Reference in New Issue
Block a user