mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
feat: removed type default value in get projects
This commit is contained in:
@@ -586,14 +586,7 @@ export const projectServiceFactory = ({
|
|||||||
return deletedProject;
|
return deletedProject;
|
||||||
};
|
};
|
||||||
|
|
||||||
const getProjects = async ({
|
const getProjects = async ({ actorId, actor, includeRoles, actorAuthMethod, actorOrgId, type }: TListProjectsDTO) => {
|
||||||
actorId,
|
|
||||||
actor,
|
|
||||||
includeRoles,
|
|
||||||
actorAuthMethod,
|
|
||||||
actorOrgId,
|
|
||||||
type = ProjectType.SecretManager
|
|
||||||
}: TListProjectsDTO) => {
|
|
||||||
const workspaces =
|
const workspaces =
|
||||||
actor === ActorType.IDENTITY
|
actor === ActorType.IDENTITY
|
||||||
? await projectDAL.findIdentityProjects(actorId, actorOrgId, type)
|
? await projectDAL.findIdentityProjects(actorId, actorOrgId, type)
|
||||||
|
|||||||
Reference in New Issue
Block a user