Skip to content

Commit d808393

Browse files
authored
Merge pull request #34 from cpaillet/snmp
(feat) Add Name to SNMPCommunityReadSerializer
2 parents 3994754 + c5b1a61 commit d808393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_cmdb/netbox_cmdb/api/snmp/serializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SNMPCommunityReadSerializer(ModelSerializer):
1717

1818
class Meta:
1919
model = SNMPCommunity
20-
fields = ["community", "type"]
20+
fields = ["name", "community", "type"]
2121

2222

2323
class SNMPReadSerializer(ModelSerializer):

0 commit comments

Comments
 (0)