This commit is contained in:
2026-01-09 13:02:54 +01:00
parent a915be704b
commit 1c20286c8c
3 changed files with 3 additions and 3 deletions
@@ -146,7 +146,7 @@ export default async function updateDbEntry<
if (targetIds) {
query += ` WHERE id IN (${targetIds.map((id) => "?").join(",")})`;
updateValues = targetIds;
updateValues.push(...targetIds);
} else if (whereClauseObject) {
query += ` ${whereClauseObject.clause}`;
updateValues.push(...(whereClauseObject.params || []));