Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
fix migration error
  • Loading branch information
eric-intuitem committed Sep 17, 2024
1 parent a477107 commit 096d417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/iam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 096d417

Please sign in to comment.