From 90f9721b403b5eaba737869fe7190fed0ca0bd72 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 6 Apr 2025 15:28:34 -0700 Subject: [PATCH] Remove domain parameter and update avatarUrl check --- server/commands/teamCreator.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/commands/teamCreator.ts b/server/commands/teamCreator.ts index 0a1e118d42..03df3e3549 100644 --- a/server/commands/teamCreator.ts +++ b/server/commands/teamCreator.ts @@ -28,16 +28,13 @@ type Props = { async function teamCreator({ name, - domain, subdomain, avatarUrl, authenticationProviders, ip, transaction, }: Props): Promise { - // If the service did not provide a logo/avatar then we'll use the default - // avatar generation mechanism as Clearbit API is being discontinued - if (!avatarUrl || !avatarUrl.startsWith("http")) { + if (!avatarUrl.startsWith("http")) { avatarUrl = null; }