mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 21:40:31 +00:00
feat: resolved invite failing and removed all unused things from frontend on previous upgrade
This commit is contained in:
@@ -194,7 +194,6 @@ const fetchSecretApprovalRequestDetails = async ({
|
||||
|
||||
export const useGetSecretApprovalRequestDetails = ({
|
||||
id,
|
||||
decryptKey,
|
||||
options = {}
|
||||
}: TGetSecretApprovalRequestDetails & {
|
||||
options?: Omit<
|
||||
@@ -210,7 +209,7 @@ export const useGetSecretApprovalRequestDetails = ({
|
||||
useQuery({
|
||||
queryKey: secretApprovalRequestKeys.detail({ id }),
|
||||
queryFn: () => fetchSecretApprovalRequestDetails({ id }),
|
||||
enabled: Boolean(id && decryptKey) && (options?.enabled ?? true)
|
||||
enabled: Boolean(id) && (options?.enabled ?? true)
|
||||
});
|
||||
|
||||
const fetchSecretApprovalRequestCount = async ({ workspaceId }: TGetSecretApprovalRequestCount) => {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { UserWsKeyPair } from "../keys/types";
|
||||
import { TSecretApprovalPolicy } from "../secretApproval/types";
|
||||
import { SecretV3Raw } from "../secrets/types";
|
||||
import { WsTag } from "../tags/types";
|
||||
@@ -110,7 +109,6 @@ export type TGetSecretApprovalRequestCount = {
|
||||
|
||||
export type TGetSecretApprovalRequestDetails = {
|
||||
id: string;
|
||||
decryptKey: UserWsKeyPair;
|
||||
};
|
||||
|
||||
export type TUpdateSecretApprovalReviewStatusDTO = {
|
||||
|
||||
Reference in New Issue
Block a user