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)