Fix: artwork page
This commit is contained in:
parent
1387ef13fd
commit
3bcd799c38
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ func (p *PixivClient) GetArtworkByID(id string) (*models.Illust, error) {
|
|||
illust.Images = images
|
||||
|
||||
// Get recent artworks
|
||||
ids := make([]int, len(illust.Recent))
|
||||
ids := make([]int, 0)
|
||||
|
||||
for k := range illust.Recent {
|
||||
ids = append(ids, k)
|
||||
|
|
Loading…
Reference in a new issue