Fixed sync-anime

This commit is contained in:
Eduard Urbach 2017-07-05 23:25:39 +02:00
parent 36fa0c8f12
commit 7b8cc06419

View File

@ -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)
}