✏️(project) fix typo

Fix and improve typos in the codebase.
This commit is contained in:
Anthony LC
2025-05-26 10:27:17 +02:00
parent bf66265125
commit fe5fda5d73
14 changed files with 17 additions and 17 deletions

View File

@@ -404,7 +404,7 @@ class DocumentViewSet(
Example:
- Ascending: GET /api/v1.0/documents/?ordering=created_at
- Desceding: GET /api/v1.0/documents/?ordering=-title
- Descending: GET /api/v1.0/documents/?ordering=-title
### Filtering:
- `is_creator_me=true`: Returns documents created by the current user.

View File

@@ -747,7 +747,7 @@ class Document(MP_Node, BaseModel):
for ancestor in ancestors_links:
links_definitions[ancestor["link_reach"]].add(ancestor["link_role"])
return dict(links_definitions) # Convert defaultdict back to a normal dict
return dict(links_definitions) # Convert default dict back to a normal dict
def compute_ancestors_links(self, user):
"""