mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 11:23:13 +00:00
Fix typo in variable name
This commit is contained in:
parent
bb99158a6c
commit
81b890b7cc
1 changed files with 1 additions and 1 deletions
|
@ -1830,7 +1830,7 @@ class TypeDetailSerializer(serializers.ModelSerializer):
|
||||||
self.remove_type_entry(relations, type, direction='_damage_to')
|
self.remove_type_entry(relations, type, direction='_damage_to')
|
||||||
|
|
||||||
# add entry
|
# add entry
|
||||||
damage_factor = relations['damage_factor']
|
damage_factor = relation['damage_factor']
|
||||||
self.add_type_entry(relations, type, damage_factor, direction='_damage_to')
|
self.add_type_entry(relations, type, damage_factor, direction='_damage_to')
|
||||||
|
|
||||||
del relation['generation']
|
del relation['generation']
|
||||||
|
|
Loading…
Reference in a new issue