Przeglądaj źródła

proto: feed list

Yi 1 rok temu
rodzic
commit
6de813df36
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
 	}
 }