added master version implementation to outdated check

This commit is contained in:
iLLiCiTiT 2020-02-20 14:13:19 +01:00
parent 6c59f16266
commit 186b29340f

View file

@ -173,6 +173,8 @@ def is_latest(representation):
"""
version = io.find_one({"_id": representation['parent']})
if version["type"] == "master_version":
return True
# Get highest version under the parent
highest_version = io.find_one({