diff --git a/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts b/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts index b5e2fdd906..2e1bd0953c 100644 --- a/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts +++ b/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts @@ -226,7 +226,7 @@ export const getByViewerHandler = async ({ ctx }: GetByViewerOptions) => { image: `${CAL_URL}/team/${membership.team.slug}/avatar.png`, slug: membership.team.slug ? !membership.team.parentId - ? `team` + ? `team/${membership.team.slug}` : "" + membership.team.slug : null, },