Skip to content

Commit 05e26b8

Browse files
matthew-242jeremystretch
authored andcommitted
Fixes #20507 Contacts returned for ASN via graphql API
1 parent faa89a5 commit 05e26b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/ipam/graphql/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def family(self) -> IPAddressFamilyType:
7474
filters=ASNFilter,
7575
pagination=True
7676
)
77-
class ASNType(NetBoxObjectType):
77+
class ASNType(NetBoxObjectType, ContactsMixin):
7878
asn: BigInt
7979
rir: Annotated["RIRType", strawberry.lazy('ipam.graphql.types')] | None
8080
tenant: Annotated["TenantType", strawberry.lazy('tenancy.graphql.types')] | None

0 commit comments

Comments
 (0)