Skip to content

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

feat: removed type default value in get projects

=30ef7f395ab8
diff --git a/backend/src/services/project/project-service.ts b/backend/src/services/project/project-service.ts
index c8f1be794f..a5bce14ced 100644
--- a/backend/src/services/project/project-service.ts
+++ b/backend/src/services/project/project-service.ts
@@ -586,14 +586,7 @@ export const projectServiceFactory = ({
return deletedProject;
};
- const getProjects = async ({
- actorId,
- actor,
- includeRoles,
- actorAuthMethod,
- actorOrgId,
- type = ProjectType.SecretManager
- }: TListProjectsDTO) => {
+ const getProjects = async ({ actorId, actor, includeRoles, actorAuthMethod, actorOrgId, type }: TListProjectsDTO) => {
const workspaces =
actor === ActorType.IDENTITY
? await projectDAL.findIdentityProjects(actorId, actorOrgId, type)