Skip to content

Commit

Permalink
Fixes #15133: Fix FHRP group representation on assignments endpoint u…
Browse files Browse the repository at this point in the history
…nder brief mode
  • Loading branch information
jeremystretch committed Feb 13, 2024
1 parent c7ae2db commit d728535
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox/ipam/api/nested_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ class Meta:

class NestedFHRPGroupAssignmentSerializer(WritableNestedSerializer):
url = serializers.HyperlinkedIdentityField(view_name='ipam-api:fhrpgroupassignment-detail')
group = NestedFHRPGroupSerializer()

class Meta:
model = models.FHRPGroupAssignment
fields = ['id', 'url', 'display', 'interface_type', 'interface_id', 'group_id', 'priority']
fields = ['id', 'url', 'display', 'group', 'interface_type', 'interface_id', 'priority']


#
Expand Down

0 comments on commit d728535

Please sign in to comment.