From 96ff85706950d2f6d733da4adbbd91458ab87c29 Mon Sep 17 00:00:00 2001 From: Perception Date: Fri, 8 Jan 2021 16:19:14 -0800 Subject: [PATCH] Fix misleading comment about return value --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0961108..4cf7213 100644 --- a/index.js +++ b/index.js @@ -426,7 +426,7 @@ function questionMarks(list){ * Return a list of tags for the given list of article ids * @param {Database} db - SQLite3 database instance * @param {Array} ids - a list of article ids - * @returns {Array} A list of [article.id, tag.name] pairs + * @returns {Object} tags grouped by article.id */ async function getTagsForArticles(db, ids) { const tags = db.prepare(`