diff --git a/backend/iam/models.py b/backend/iam/models.py index eb67b766c..08b21d686 100644 --- a/backend/iam/models.py +++ b/backend/iam/models.py @@ -65,7 +65,7 @@ def get_root_folder() -> Self: def get_root_folder_id() -> uuid.UUID: """class function for general use""" try: - return uuid.UUID(_get_root_folder().id) + return _get_root_folder().id except: return _get_root_folder()