Fixed sync-anime
This commit is contained in:
parent
36fa0c8f12
commit
7b8cc06419
@ -29,7 +29,10 @@ func sync(data *kitsu.Anime) {
|
||||
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "not found") {
|
||||
anime = &arn.Anime{}
|
||||
anime = &arn.Anime{
|
||||
Title: &arn.AnimeTitle{},
|
||||
Image: &arn.AnimeImageTypes{},
|
||||
}
|
||||
} else {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user