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