Skip to content

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

Fix: Better types

Daniel Hougaard6904cd3bdaa1
diff --git a/backend/src/lib/types/index.ts b/backend/src/lib/types/index.ts
index a81517c94b..7a34222a6e 100644
--- a/backend/src/lib/types/index.ts
+++ b/backend/src/lib/types/index.ts
@@ -1,4 +1,4 @@
-import { ActorAuthMethod, ActorType, AuthMethod } from "@app/services/auth/auth-type";
+import { ActorAuthMethod, ActorType } from "@app/services/auth/auth-type";
export type TOrgPermission = {
actor: ActorType;
@@ -12,7 +12,7 @@ export type TProjectPermission = {
actor: ActorType;
actorId: string;
projectId: string;
- actorAuthMethod: AuthMethod | null;
+ actorAuthMethod: ActorAuthMethod;
actorOrgId: string | undefined;
};