Fixed jobs and patches not building
This commit is contained in:
parent
3b294cd768
commit
8d013c5fb8
@ -12,10 +12,9 @@ func main() {
|
||||
color.Yellow("Refreshing anime characters...")
|
||||
defer arn.Node.Close()
|
||||
|
||||
allAnime, _ := arn.AllAnime()
|
||||
rateLimiter := time.NewTicker(500 * time.Millisecond)
|
||||
|
||||
for _, anime := range allAnime {
|
||||
for anime := range arn.StreamAnime() {
|
||||
<-rateLimiter.C
|
||||
|
||||
chars, err := anime.RefreshAnimeCharacters()
|
||||
|
@ -12,7 +12,7 @@ var userName = "Akyoto"
|
||||
var allAnime []*arn.Anime
|
||||
|
||||
func init() {
|
||||
allAnime, _ = arn.AllAnime()
|
||||
allAnime = arn.AllAnime()
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
@ -12,8 +12,7 @@ func main() {
|
||||
arn.PanicOnError(anilist.Authorize())
|
||||
color.Green(anilist.AccessToken)
|
||||
|
||||
allAnime, err := arn.AllAnime()
|
||||
arn.PanicOnError(err)
|
||||
allAnime := arn.AllAnime()
|
||||
|
||||
count := 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user