Fix misleading comment about return value
This commit is contained in:
@@ -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(`
|
||||
|
||||
Reference in New Issue
Block a user