From da3eac95e61848422b415ce86dc21169cd783aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pola=C5=84ski?= Date: Tue, 29 Oct 2024 10:25:32 +0100 Subject: [PATCH] Fixing incorrect fields definition in BGPRouterSerializer --- netbox_routing/api/_serializers/bgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_routing/api/_serializers/bgp.py b/netbox_routing/api/_serializers/bgp.py index b488b69..7b94d07 100644 --- a/netbox_routing/api/_serializers/bgp.py +++ b/netbox_routing/api/_serializers/bgp.py @@ -52,7 +52,7 @@ class BGPRouterSerializer(NetBoxModelSerializer): class Meta: model = BGPRouter fields = ('url', 'id', 'display', 'device', 'asn', 'settings', 'description', 'comments',) - fields = ('url', 'id', 'display', 'device', 'asn', ) + brief_fields = ('url', 'id', 'display', 'device', 'asn', ) class BGPScopeSerializer(NetBoxModelSerializer):