add team slug to team event link (#9558)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>pull/9566/head
parent
e6d6f3317e
commit
66ebf18fa9
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue