fix: Team creation with private avatar. Do not attempt to copy, closes #4378
This commit is contained in:
@@ -38,7 +38,7 @@ async function teamCreator({
|
||||
}: Props): Promise<Team> {
|
||||
// If the service did not provide a logo/avatar then we attempt to generate
|
||||
// one via ClearBit, or fallback to colored initials in worst case scenario
|
||||
if (!avatarUrl) {
|
||||
if (!avatarUrl || !avatarUrl.startsWith("http")) {
|
||||
avatarUrl = await generateAvatarUrl({
|
||||
name,
|
||||
domain,
|
||||
|
||||
Reference in New Issue
Block a user