1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #10791: Permit nullifying VLAN group scope_type via REST API

This commit is contained in:
jeremystretch
2022-11-01 15:38:10 -04:00
parent 7990cfb078
commit aaf1ea52b7
2 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,7 @@ class VLANGroupSerializer(NetBoxModelSerializer):
queryset=ContentType.objects.filter(
model__in=VLANGROUP_SCOPE_TYPES
),
allow_null=True,
required=False,
default=None
)