remove slash (#9556)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
pull/9558/head
Carina Wollendorfer 2023-06-16 10:37:06 +02:00 committed by GitHub
parent 22e2b0a6a9
commit 55f66e6bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,
},