Fixes #20507 Contacts returned for ASN via graphql API

This commit is contained in:
Matthew Papaleo
2025-10-07 13:39:51 +11:00
committed by Jeremy Stretch
parent faa89a53ff
commit 05e26b82c1
+1 -1
View File
@@ -74,7 +74,7 @@ class BaseIPAddressFamilyType:
filters=ASNFilter, filters=ASNFilter,
pagination=True pagination=True
) )
class ASNType(NetBoxObjectType): class ASNType(NetBoxObjectType, ContactsMixin):
asn: BigInt asn: BigInt
rir: Annotated["RIRType", strawberry.lazy('ipam.graphql.types')] | None rir: Annotated["RIRType", strawberry.lazy('ipam.graphql.types')] | None
tenant: Annotated["TenantType", strawberry.lazy('tenancy.graphql.types')] | None tenant: Annotated["TenantType", strawberry.lazy('tenancy.graphql.types')] | None