Fix misleading comment about return value

This commit is contained in:
2021-01-08 16:19:14 -08:00
parent c6618da038
commit 96ff857069
+1 -1
View File
@@ -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<Number>} ids - a list of article ids
* @returns {Array<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(`