Skip to content

Commit 2cf3d58

Browse files
committed
fixing comments
Signed-off-by: Dhruv Jain <[email protected]>
1 parent 9b384da commit 2cf3d58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/handler/comments.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ func (cfg *Handler) Getcomments(w http.ResponseWriter, r *http.Request) {
220220

221221
for _, k := range comments {
222222
Comments = append(Comments, Comment{
223+
Body: k.Body,
223224
Id: k.ID,
224225
Username: k.Username,
225226
Liked: k.Liked,

0 commit comments

Comments
 (0)