From 38b0216960306837c9492cb6abba655ac31d30f6 Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 3 Apr 2024 14:05:46 -0400 Subject: [PATCH] minor cleanup --- src-electron/db/query-package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-electron/db/query-package.js b/src-electron/db/query-package.js index 33bafec77b..a83b2bd99c 100644 --- a/src-electron/db/query-package.js +++ b/src-electron/db/query-package.js @@ -181,7 +181,7 @@ async function getPackagesByParentAndType(db, parentId, type) { * @param {*} db * @param {*} packageId */ -async function getPackageByPackageId(db, packageIds) { +async function getPackageByPackageId(db, packageId) { return dbApi .dbGet(db, `${querySelectFromPackage} WHERE PACKAGE_ID = ?`, [packageId]) .then(dbMapping.map.package)