Skip to content

Commit

Permalink
Merge pull request #63 from naturalsolutions/2.14/fix/bug_complete_card
Browse files Browse the repository at this point in the history
fix: solve __str__ error in hierarchy
  • Loading branch information
edelclaux authored May 21, 2024
2 parents f44f7a1 + efd152e commit 46bb2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gn_module_zh/model/cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ def __set_statuses(self):
return self.status.__str__()

def __set_hierarchy(self):
return self.hierarchy.__str__() if self.hierarchy is not None else None
return self.hierarchy.as_dict() if self.hierarchy is not None else None

def __set_evaluation(self):
self.__set_main_functions()
Expand Down

0 comments on commit 46bb2b2

Please sign in to comment.