|
|
@@ -345,8 +345,8 @@ export class Database extends SQLiteController {
|
|
|
});
|
|
|
|
|
|
if (delIDs.length) {
|
|
|
- const delSql = 'DELETE FROM HealthCheckParams WHERE ID IN (?);';
|
|
|
- await this.run(delSql, [delIDs]);
|
|
|
+ const delSql = `DELETE FROM HealthCheckParams WHERE ID IN (${delIDs.map(() => '?').join(',')});`;
|
|
|
+ await this.run(delSql, delIDs);
|
|
|
}
|
|
|
|
|
|
if (updValues.length) {
|