Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Remove unnessecary types and projectMembershipid

Daniel Hougaard478520f090f9
diff --git a/frontend/src/hooks/api/accessApproval/types.ts b/frontend/src/hooks/api/accessApproval/types.ts
index 1ffd0bf2e6..2176b8bc1b 100644
--- a/frontend/src/hooks/api/accessApproval/types.ts
+++ b/frontend/src/hooks/api/accessApproval/types.ts
@@ -92,10 +92,8 @@ export type TProjectUserPrivilege = {
);
export type TCreateAccessRequestDTO = {
- envSlug: string;
projectSlug: string;
- secretPath: string;
-} & Omit<TProjectUserPrivilege, "id" | "createdAt" | "updatedAt" | "slug">;
+} & Omit<TProjectUserPrivilege, "id" | "createdAt" | "updatedAt" | "slug" | "projectMembershipId">;
export type TGetAccessApprovalRequestsDTO = {
projectSlug: string;