We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b384da commit 2cf3d58Copy full SHA for 2cf3d58
1 file changed
api/handler/comments.go
@@ -220,6 +220,7 @@ func (cfg *Handler) Getcomments(w http.ResponseWriter, r *http.Request) {
220
221
for _, k := range comments {
222
Comments = append(Comments, Comment{
223
+ Body: k.Body,
224
Id: k.ID,
225
Username: k.Username,
226
Liked: k.Liked,
0 commit comments