Feat: create user page, add user bio and avatar

This commit is contained in:
Aaron William Po
2023-11-05 21:54:09 -05:00
parent fcc43c305c
commit 7f9ddb40a1
26 changed files with 324 additions and 79 deletions

View File

@@ -17,7 +17,9 @@ const findBeerCommentById = async ({
rating: true,
createdAt: true,
updatedAt: true,
postedBy: { select: { id: true, username: true, createdAt: true } },
postedBy: {
select: { id: true, username: true, createdAt: true, userAvatar: true },
},
},
});
};