From 251840c05e50586f19cd32993dd536e93e5ea6e1 Mon Sep 17 00:00:00 2001 From: Arthur Date: Fri, 21 Mar 2025 09:44:47 -0700 Subject: [PATCH] 18245 fix graphql --- netbox/dcim/graphql/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/graphql/types.py b/netbox/dcim/graphql/types.py index 78e6badac..3bc5c9f5f 100644 --- a/netbox/dcim/graphql/types.py +++ b/netbox/dcim/graphql/types.py @@ -339,7 +339,7 @@ class DeviceRoleType(OrganizationalObjectType): class DeviceRoleGroupType(OrganizationalObjectType): parent: Annotated['DeviceRoleGroupType', strawberry.lazy('dcim.graphql.types')] | None - roles: List[DeviceRoleType] + device_roles: List[DeviceRoleType] children: List[Annotated['DeviceRoleGroupType', strawberry.lazy('dcim.graphql.types')]]