From d6fd0b88af4b627bdb71eeb397e679bddf04c0c5 Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 12 Mar 2024 10:39:00 -0700 Subject: [PATCH] 9856 fix tests --- netbox/extras/graphql/types.py | 2 +- netbox/tenancy/graphql/types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/extras/graphql/types.py b/netbox/extras/graphql/types.py index f8c5d85fa..1361250cd 100644 --- a/netbox/extras/graphql/types.py +++ b/netbox/extras/graphql/types.py @@ -123,7 +123,7 @@ class ConfigTemplateType(TagsMixin, ObjectType): filters=CustomFieldFilter ) class CustomFieldType(ObjectType): - object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None + related_object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None choice_set: Annotated["CustomFieldChoiceSetType", strawberry.lazy('extras.graphql.types')] | None diff --git a/netbox/tenancy/graphql/types.py b/netbox/tenancy/graphql/types.py index e873aee51..90c35d47e 100644 --- a/netbox/tenancy/graphql/types.py +++ b/netbox/tenancy/graphql/types.py @@ -189,6 +189,6 @@ class ContactGroupType(OrganizationalObjectType): filters=ContactAssignmentFilter ) class ContactAssignmentType(CustomFieldsMixin, TagsMixin, BaseObjectType): - content_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None + object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None contact: Annotated["ContactType", strawberry.lazy('tenancy.graphql.types')] | None role: Annotated["ContactRoleType", strawberry.lazy('tenancy.graphql.types')] | None