Skip to content

Commit 2cf3d58

Browse files
committed
fixing comments
Signed-off-by: Dhruv Jain <92215138+jaydee029@users.noreply.github.com>
1 parent 9b384da commit 2cf3d58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)