Skip to content

Commit

Permalink
fix: profile logic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankParticle committed Aug 21, 2024
1 parent fb4e6d0 commit 7131a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/platform/trpc/routers/userRouter/profileRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7131a4e

Please sign in to comment.