From efe4fb57517b0b1cb3f2e086b3836d3c2123567e Mon Sep 17 00:00:00 2001 From: Matthew Papaleo Date: Tue, 7 Oct 2025 13:39:51 +1100 Subject: [PATCH] Fixes #20507 Contacts returned for ASN via graphql API --- netbox/ipam/graphql/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/graphql/types.py b/netbox/ipam/graphql/types.py index e8f98eabe33..a07316fe432 100644 --- a/netbox/ipam/graphql/types.py +++ b/netbox/ipam/graphql/types.py @@ -74,7 +74,7 @@ def family(self) -> IPAddressFamilyType: filters=ASNFilter, pagination=True ) -class ASNType(NetBoxObjectType): +class ASNType(NetBoxObjectType, ContactsMixin): asn: BigInt rir: Annotated["RIRType", strawberry.lazy('ipam.graphql.types')] | None tenant: Annotated["TenantType", strawberry.lazy('tenancy.graphql.types')] | None