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, }; }