fix 'hero' kwargs

This commit is contained in:
Jakub Trllo 2022-07-04 16:51:54 +02:00
parent 24305ca803
commit eb352d0958

View file

@ -195,7 +195,6 @@ def is_latest(representation):
version = get_version_by_id(
project_name,
representation["parent"],
hero=True,
fields=["_id", "type", "parent"]
)
if version["type"] == "hero_version":