From 1b05397157f47bbf11dd7d9d00b4af58fffc6aa4 Mon Sep 17 00:00:00 2001 From: ypc-faros <99700024+ypc-faros@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:00:49 -0500 Subject: [PATCH] FAI-14387 Fix converter (#1858) --- .../airbyte-faros-destination/src/converters/okta/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/destinations/airbyte-faros-destination/src/converters/okta/users.ts b/destinations/airbyte-faros-destination/src/converters/okta/users.ts index 594920fad..4f759627e 100644 --- a/destinations/airbyte-faros-destination/src/converters/okta/users.ts +++ b/destinations/airbyte-faros-destination/src/converters/okta/users.ts @@ -43,7 +43,7 @@ export class Users extends OktaConverter { profile.department ?? null; - if (!this.seenDepartments.has(department)) { + if (department && !this.seenDepartments.has(department)) { this.seenDepartments.add(department); res.push({ model: 'org_Department',