diff --git a/jobs/sync-anime/sync-anime.go b/jobs/sync-anime/sync-anime.go index bfc72884..6fc26f87 100644 --- a/jobs/sync-anime/sync-anime.go +++ b/jobs/sync-anime/sync-anime.go @@ -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) }