From e007aba06702a3630549c9892b157651014141e2 Mon Sep 17 00:00:00 2001 From: Castor <407221377@qq.com> Date: Mon, 24 Apr 2023 13:43:19 +0800 Subject: [PATCH] Update note_map.js --- src/routes/api/note_map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/api/note_map.js b/src/routes/api/note_map.js index 9f33960d2..11fc9a3e6 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;