Parcourir la source

9856 fix tests

Arthur il y a 1 an
Parent
commit
960f3407f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      netbox/extras/graphql/types.py

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

@@ -169,7 +169,7 @@ class ExportTemplateType(ObjectType):
     filters=ImageAttachmentFilter
     filters=ImageAttachmentFilter
 )
 )
 class ImageAttachmentType(BaseObjectType):
 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(
 @strawberry_django.type(