Skip to content

Commit

Permalink
An entire class should not be returned in the default spell.
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson committed Dec 20, 2024
1 parent d9fd2aa commit 50257e2
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)
#classes = CharacterClassSerializer(many=True) - Should not be a full class object.

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

0 comments on commit 50257e2

Please sign in to comment.