mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Use _list appendix for GraphQL list queries
This commit is contained in:
@@ -6,7 +6,7 @@ from .types import *
|
||||
|
||||
class TenancyQuery(graphene.ObjectType):
|
||||
tenant = ObjectField(TenantType)
|
||||
tenants = ObjectListField(TenantType)
|
||||
tenant_list = ObjectListField(TenantType)
|
||||
|
||||
tenant_group = ObjectField(TenantGroupType)
|
||||
tenant_groups = ObjectListField(TenantGroupType)
|
||||
tenant_group_list = ObjectListField(TenantGroupType)
|
||||
|
Reference in New Issue
Block a user