Skip to content

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

fix lin

adilson2e74a68b2aac
diff --git a/backend/src/server/routes/v1/dashboard-router.ts b/backend/src/server/routes/v1/dashboard-router.ts
index bc95678730..badc66e507 100644
--- a/backend/src/server/routes/v1/dashboard-router.ts
+++ b/backend/src/server/routes/v1/dashboard-router.ts
@@ -1735,7 +1735,8 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
// support ending partial path match
return (
- isInSecretSearchScope(folderPath, searchPath, secretPath) && folderName.toLowerCase().startsWith(searchName.toLowerCase())
+ isInSecretSearchScope(folderPath, searchPath, secretPath) &&
+ folderName.toLowerCase().startsWith(searchName.toLowerCase())
);
}