Skip to content

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

feat: code rabbit review feedbacks

=ee536717c0a6
diff --git a/backend/src/lib/validator/validate-string.ts b/backend/src/lib/validator/validate-string.ts
index 3c67be7c1b..bc279fdbf5 100644
--- a/backend/src/lib/validator/validate-string.ts
+++ b/backend/src/lib/validator/validate-string.ts
@@ -37,7 +37,7 @@ export enum CharacterType {
Comma = "comma", // ,
Semicolon = "semicolon", // ;
Exclamation = "exclamation", // !
- Fullstop = "fullStop" // !
+ Fullstop = "fullStop" // .
}
/**
diff --git a/frontend/src/pages/organization/SecretManagerOverviewPage/components/AllProjectView.tsx b/frontend/src/pages/organization/SecretManagerOverviewPage/components/AllProjectView.tsx
index 3cfc5972e2..2bf6a38347 100644
--- a/frontend/src/pages/organization/SecretManagerOverviewPage/components/AllProjectView.tsx
+++ b/frontend/src/pages/organization/SecretManagerOverviewPage/components/AllProjectView.tsx
@@ -114,7 +114,7 @@ export const AllProjectView = ({ type, onListViewToggle }: Props) => {
offset,
totalCount: searchedProjects?.totalCount || 0
});
- const requestedWorkspaceDetails = popUp.requestAccessConfirmation.data as Workspace;
+ const requestedWorkspaceDetails = (popUp.requestAccessConfirmation.data || {}) as Workspace;
return (
<div>