From 6904cd3bdaa1a765230b53872bf7b73f0a21de11 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:42:37 +0100 Subject: [PATCH] Fix: Better types --- backend/src/lib/types/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; };