Skip to content

Build your personal knowledge base with Trilium Notes

Update note_map.js

Castore007aba06702
diff --git a/src/routes/api/note_map.js b/src/routes/api/note_map.js
index 9f33960d2a..11fc9a3e6e 100644
--- a/src/routes/api/note_map.js
+++ b/src/routes/api/note_map.js
@@ -27,8 +27,8 @@ function buildDescendantCountMap(noteIdsToCount) {
return noteIdToCountMap[noteId];
}
- noteIdsToCount.forEach((nodeId) => {
- getCount(nodeId);
+ noteIdsToCount.forEach((noteId) => {
+ getCount(noteId);
});
return noteIdToCountMap;