Skip to content

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

Remove unecessary imports

Tuan Dangfb394de42855
diff --git a/backend/src/controllers/v2/workspaceController.ts b/backend/src/controllers/v2/workspaceController.ts
index 95c03bbc49..637801fa2c 100644
--- a/backend/src/controllers/v2/workspaceController.ts
+++ b/backend/src/controllers/v2/workspaceController.ts
@@ -1,29 +1,17 @@
import { Request, Response } from 'express';
import * as Sentry from '@sentry/node';
import {
- Workspace,
- Membership,
- MembershipOrg,
- Integration,
- IntegrationAuth,
Key,
- IUser,
- ServiceToken,
} from '../../models';
-import {
- createWorkspace as create,
- deleteWorkspace as deleteWork
-} from '../../helpers/workspace';
import {
v2PushSecrets as push,
pullSecrets as pull,
reformatPullSecrets
} from '../../helpers/secret';
import { pushKeys } from '../../helpers/key';
-import { addMemberships } from '../../helpers/membership';
import { postHogClient, EventService } from '../../services';
import { eventPushSecrets } from '../../events';
-import { ADMIN, COMPLETED, GRANTED, ENV_SET } from '../../variables';
+import { ENV_SET } from '../../variables';
interface V2PushSecret {
type: string; // personal or shared