mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add journal_entries to Graphene object types for all primary models
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from tenancy import filtersets, models
|
||||
from netbox.graphql.types import ObjectType, TaggedObjectType
|
||||
from netbox.graphql.types import ObjectType, PrimaryObjectType
|
||||
|
||||
__all__ = (
|
||||
'TenantType',
|
||||
@@ -7,7 +7,7 @@ __all__ = (
|
||||
)
|
||||
|
||||
|
||||
class TenantType(TaggedObjectType):
|
||||
class TenantType(PrimaryObjectType):
|
||||
|
||||
class Meta:
|
||||
model = models.Tenant
|
||||
|
Reference in New Issue
Block a user