diff --git a/apps/platform/trpc/routers/userRouter/profileRouter.ts b/apps/platform/trpc/routers/userRouter/profileRouter.ts index 7340a1ea..8d0ca5be 100644 --- a/apps/platform/trpc/routers/userRouter/profileRouter.ts +++ b/apps/platform/trpc/routers/userRouter/profileRouter.ts @@ -153,7 +153,7 @@ export const profileRouter = router({ .set({ name: `${firstName}'s Personal Space`, shortcode: validatedShortcode.shortcode, - description: `${firstName}${lastName?.length > 0 ? ' ' + lastName.join(' ') : ''}'s Personal Space` + description: `${firstName}${lastName?.length > 0 ? ' ' + lastName : ''}'s Personal Space` }) .where( eq(spaces.id, orgMemberProfileQuery.orgMember.personalSpaceId)