Arthur 1 год назад
Родитель
Сommit
960f3407f5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/extras/graphql/types.py

+ 1 - 1
netbox/extras/graphql/types.py

@@ -169,7 +169,7 @@ class ExportTemplateType(ObjectType):
     filters=ImageAttachmentFilter
 )
 class ImageAttachmentType(BaseObjectType):
-    content_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
+    object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
 
 
 @strawberry_django.type(