Updated twist job
This commit is contained in:
parent
3f7d297a5f
commit
6ec1cd5692
@ -18,10 +18,10 @@ func main() {
|
||||
// Replace this with ID list from twist.moe later
|
||||
twistAnime, err := twist.GetAnimeIndex()
|
||||
arn.PanicOnError(err)
|
||||
idList := twistAnime.KitsuIDs()
|
||||
idList := arn.IDList(twistAnime.KitsuIDs())
|
||||
|
||||
// Save index in cache
|
||||
arn.DB.Set("IDList", "animetwist index", idList)
|
||||
arn.DB.Set("IDList", "animetwist index", &idList)
|
||||
|
||||
color.Yellow("Refreshing twist.moe links for %d anime", len(idList))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user