Skip to content

Commit

Permalink
feat : add username and profile image url in new comment query
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedrinvits committed Oct 18, 2024
1 parent 6e67dbd commit b0cbd1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/comments/add-comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export const createComments = async (
user : {
select : {
username : true,
name : true,
profileImageUrl : true,
}
}
}
Expand Down

0 comments on commit b0cbd1f

Please sign in to comment.