mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 14:56:24 -06:00
Rename base Graphene types to match base models
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from tenancy import filtersets, models
|
||||
from netbox.graphql.types import ObjectType, PrimaryObjectType
|
||||
from netbox.graphql.types import OrganizationalObjectType, PrimaryObjectType
|
||||
|
||||
__all__ = (
|
||||
'TenantType',
|
||||
@@ -15,7 +15,7 @@ class TenantType(PrimaryObjectType):
|
||||
filterset_class = filtersets.TenantFilterSet
|
||||
|
||||
|
||||
class TenantGroupType(ObjectType):
|
||||
class TenantGroupType(OrganizationalObjectType):
|
||||
|
||||
class Meta:
|
||||
model = models.TenantGroup
|
||||
|
||||
Reference in New Issue
Block a user