Skip to content

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

Removed unnessecary types

Daniel Hougaard56c8b4f5e56b
diff --git a/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberRoleForm/SpecificPrivilegeSection.tsx b/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberRoleForm/SpecificPrivilegeSection.tsx
index 88ff41cf80..9252f09e60 100644
--- a/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberRoleForm/SpecificPrivilegeSection.tsx
+++ b/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberRoleForm/SpecificPrivilegeSection.tsx
@@ -348,10 +348,7 @@ export const SpecificPrivilegeSecretForm = ({
await requestAccess.mutateAsync({
...data,
...(data.temporaryAccess.isTemporary && {
- temporaryAccessStartTime: data.temporaryAccess.temporaryAccessStartTime,
- temporaryAccessEndTime: data.temporaryAccess.temporaryAccessEndTime,
- temporaryRange: data.temporaryAccess.temporaryRange,
- temporaryMode: "relative"
+ temporaryRange: data.temporaryAccess.temporaryRange
}),
projectSlug: currentWorkspace.slug,
isTemporary: data.temporaryAccess.isTemporary,