remove slash (#9556)

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2023-06-16 08:37:06 +00:00
1 parent 22e2b0a6a9
commit 55f66e6bcd
1 file changed
+1 -1
@@ -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
: null,
},