diff --git a/backend/src/ee/services/permission/permission-service.ts b/backend/src/ee/services/permission/permission-service.ts index e6f0f5a2b..737571fad 100644 --- a/backend/src/ee/services/permission/permission-service.ts +++ b/backend/src/ee/services/permission/permission-service.ts @@ -135,7 +135,7 @@ export const permissionServiceFactory = ({ id: string, orgId: string, authMethod: ActorAuthMethod, - actorOrgId?: string + actorOrgId: string | undefined ) => { switch (type) { case ActorType.USER: @@ -259,7 +259,7 @@ export const permissionServiceFactory = ({ id: string, projectId: string, actorAuthMethod: ActorAuthMethod, - actorOrgId?: string + actorOrgId: string | undefined ): Promise> => { switch (type) { case ActorType.USER: