Skip to content

Commit

Permalink
#10371: Fix API serializer representation for module status
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Dec 12, 2022
1 parent 7580307 commit e338f7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ class ModuleSerializer(NetBoxModelSerializer):
device = NestedDeviceSerializer()
module_bay = NestedModuleBaySerializer()
module_type = NestedModuleTypeSerializer()
status = ChoiceField(choices=ModuleStatusChoices, required=False)

class Meta:
model = Module
Expand Down

0 comments on commit e338f7c

Please sign in to comment.