Skip to content

Commit

Permalink
feat(next/web): [export] fill empty nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Jan 26, 2024
1 parent 4571b46 commit ab54f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/api/src/ticket/export/ExportTicket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const encodeUser = (user: User) => {
return {
id: user.id,
username: user.username,
nickname: user.name,
nickname: user.name ?? user.username,
email: user.email,
};
};
Expand Down

0 comments on commit ab54f05

Please sign in to comment.