Skip to content

Commit db4fb8f

Browse files
authored
Fixes #18999: Allow GraphQL to represent inventory items with no set manufacturar (#19016)
1 parent 5b8eace commit db4fb8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/dcim/graphql/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class InterfaceTemplateType(ModularComponentTemplateType):
429429
)
430430
class InventoryItemType(ComponentType):
431431
role: Annotated["InventoryItemRoleType", strawberry.lazy('dcim.graphql.types')] | None
432-
manufacturer: Annotated["ManufacturerType", strawberry.lazy('dcim.graphql.types')]
432+
manufacturer: Annotated["ManufacturerType", strawberry.lazy('dcim.graphql.types')] | None
433433

434434
child_items: List[Annotated["InventoryItemType", strawberry.lazy('dcim.graphql.types')]]
435435

0 commit comments

Comments
 (0)