Fix: API not returning ranking
This commit is contained in:
parent
c59f9a1683
commit
851ef6c474
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue