From ee536717c0a671e9433d5e783a41fcd59b4660b8 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 2 Apr 2025 23:03:32 +0530 Subject: [PATCH] feat: code rabbit review feedbacks --- backend/src/lib/validator/validate-string.ts | 2 +- .../SecretManagerOverviewPage/components/AllProjectView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 (