Updated jobs

This commit is contained in:
2017-11-09 20:03:25 +01:00
parent 6a96585290
commit 27f04d6a2d
2 changed files with 4 additions and 8 deletions

View File

@ -38,7 +38,6 @@ func sync(data *kitsu.Anime) *arn.Anime {
if strings.Contains(err.Error(), "not found") {
anime = &arn.Anime{
Title: &arn.AnimeTitle{},
Image: &arn.AnimeImageTypes{},
}
} else {
panic(err)
@ -84,7 +83,7 @@ func sync(data *kitsu.Anime) *arn.Anime {
anime.AddMapping("myanimelist/anime", mapping.Attributes.ExternalID, "")
case "anidb":
anime.AddMapping("anidb/anime", mapping.Attributes.ExternalID, "")
case "thetvdb/series":
case "thetvdb", "thetvdb/series":
anime.AddMapping("thetvdb/anime", mapping.Attributes.ExternalID, "")
case "thetvdb/season":
// Ignore