Skip to content

Commit

Permalink
Restoring functionality related to class names.
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson committed Dec 20, 2024
1 parent 2fdc628 commit 65aba66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_v2/serializers/spell.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SpellSerializer(GameContentSerializer):
key = serializers.ReadOnlyField()
casting_options = SpellCastingOptionSerializer(many=True)
school = SpellSchoolSerializer()
#classes = CharacterClassSerializer(many=True) - Should not be a full class object.
classes = CharacterClassSerializer(many=True)

range_unit = serializers.SerializerMethodField()
shape_size_unit = serializers.SerializerMethodField()
Expand Down

0 comments on commit 65aba66

Please sign in to comment.