From 06906e5d0749f0787b3129afeafab16d8d092b41 Mon Sep 17 00:00:00 2001 From: Vignesh Gupta Date: Tue, 11 Jun 2024 13:21:06 +0530 Subject: [PATCH] ci: fix type issue in ci --- app/api/webhooks/clerk/utils/organization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/webhooks/clerk/utils/organization.ts b/app/api/webhooks/clerk/utils/organization.ts index 2f5fbbc..8f879a4 100644 --- a/app/api/webhooks/clerk/utils/organization.ts +++ b/app/api/webhooks/clerk/utils/organization.ts @@ -33,7 +33,7 @@ function mapOrgJsonToOrg(orgJson: OrganizationJSON): Organization { return { clerkId: orgJson.id, name: orgJson.name, - imageUrl: orgJson.image_url, + imageUrl: orgJson.image_url || "", createdBy: orgJson.created_by, }; }