Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Remove logo from getPublicEvent response (#14488)

Alex van Andelf00849b8d1df
diff --git a/packages/features/eventtypes/lib/getPublicEvent.ts b/packages/features/eventtypes/lib/getPublicEvent.ts
index ef2df1a1943..387bfac37c9 100644
--- a/packages/features/eventtypes/lib/getPublicEvent.ts
+++ b/packages/features/eventtypes/lib/getPublicEvent.ts
@@ -78,7 +78,7 @@ const publicEventSelect = Prisma.validator<Prisma.EventTypeSelect>()({
darkBrandColor: true,
slug: true,
name: true,
- logo: true,
+ logoUrl: true,
theme: true,
parent: {
select: {
@@ -348,7 +348,7 @@ function getProfileFromEvent(event: Event) {
},
avatarUrl: nonTeamprofile?.avatarUrl,
}),
- logo: !team ? undefined : team.logo,
+ logo: !team ? undefined : team.logoUrl,
brandColor: profile.brandColor,
darkBrandColor: profile.darkBrandColor,
theme: profile.theme,