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