Change string representation of snapshots

This commit is contained in:
Ramon Wenger 2021-06-22 08:33:30 +02:00
parent 20810ee732
commit e86d67ae35
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ class SnapshotNode(DjangoObjectType):
]
@staticmethod
def resolve_title(parent, info, **kwargs):
return parent.module.title
def resolve_title(parent: Snapshot, info, **kwargs):
return f'Snapshot {parent.id}'
@staticmethod
def resolve_meta_title(parent, info, **kwargs):