Fix: API not returning ranking

This commit is contained in:
VnPower 2023-05-14 16:30:17 +07:00
parent c59f9a1683
commit 851ef6c474
Signed by: vnpower
GPG key ID: 881DE3DEB966106C

View file

@ -27,7 +27,7 @@ func GetRecommendedIllust(c *gin.Context) []entity.Illust {
}
func GetRankingIllust(c *gin.Context, mode string) []entity.Illust {
URL := "https://hibi.cocomi.cf/api/pixiv/rank?mode=" + mode
URL := "https://hibi.cocomi.cf/api/pixiv/rank?page=1&mode=" + mode
var illusts []entity.Illust
s := Request(URL)