This commit is contained in:
Ruslan Nagimov
2022-06-02 10:47:06 -05:00
committed by Umputun
parent 20ca0896a6
commit 12e4f283fe
+1 -1
View File
@@ -173,7 +173,7 @@ func (s *private) createCommentCtrl(w http.ResponseWriter, r *http.Request) {
s.notifyService.Submit(notify.Request{Comment: finalComment})
}
log.Printf("[DEBUG] created commend %+v", finalComment)
log.Printf("[DEBUG] created comment %+v", finalComment)
render.Status(r, http.StatusCreated)
render.JSON(w, r, &finalComment)