Parcourir la source

proto: feed list

Yi il y a 1 an
Parent
commit
6de813df36
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      http/handler/feed/feed_formula_detail.go

+ 1 - 1
http/handler/feed/feed_formula_detail.go

@@ -30,6 +30,6 @@ func ForageDetailList(c *gin.Context) {
 		apierr.ClassifiedAbort(c, err)
 		return
 	} else {
-		c.JSON(http.StatusOK, list)
+		ginutil.JSONResp(c, list)
 	}
 }