Skip to content

Commit

Permalink
feat(profile-share): Add Profile Public Share Button
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzuan committed Oct 24, 2024
1 parent 5219224 commit b7dc564
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/api/controller/blog.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const BlogController = createElysia()
include: {
user: {
select: {
id: true,
name: true,
email: true,
iconUrl: true,
Expand Down
1 change: 1 addition & 0 deletions src/api/controller/message.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const MessageController = createElysia()
include: {
user: {
select: {
id: true,
name: true,
email: true,
iconUrl: true,
Expand Down
6 changes: 4 additions & 2 deletions src/api/controller/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ const me = createElysia()
select: {
name: true,
email: true,
iconUrl: true,
bannerUrl: true,
about: true,
location: true,
headline: true,
bannerUrl: true,
iconUrl: true,
isAdmin: true,
},
}),
};
Expand Down

0 comments on commit b7dc564

Please sign in to comment.