Fixed outdated parser
This commit is contained in:
parent
da3c064496
commit
ae591e5e7e
@ -21,9 +21,6 @@ func main() {
|
||||
|
||||
for kitsuCharacter := range kitsuCharacters {
|
||||
character := &arn.Character{
|
||||
HasID: arn.HasID{
|
||||
ID: kitsuCharacter.ID,
|
||||
},
|
||||
Name: arn.CharacterName{
|
||||
Canonical: kitsuCharacter.Attributes.CanonicalName,
|
||||
English: kitsuCharacter.Attributes.Names.En,
|
||||
@ -35,14 +32,14 @@ func main() {
|
||||
},
|
||||
Description: kitsuCharacter.Attributes.Description,
|
||||
Attributes: []*arn.CharacterAttribute{},
|
||||
HasMappings: arn.HasMappings{
|
||||
Mappings: []*arn.Mapping{
|
||||
}
|
||||
|
||||
character.ID = kitsuCharacter.ID
|
||||
character.Mappings = []*arn.Mapping{
|
||||
{
|
||||
Service: "kitsu/character",
|
||||
ServiceID: kitsuCharacter.ID,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
if kitsuCharacter.Attributes.MalID != 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user