Skip to content

Commit

Permalink
Fix SQL parse error on PG16
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuc authored and vkrizan committed Sep 24, 2024
1 parent dfaba2c commit b05ff9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function updateIssues (knex: Knex, host_id: string, issues: string[
'NOT IN (?) ' +
`FROM remediation_issues ` +
`WHERE remediation_issues.id = remediation_issue_systems.remediation_issue_id ` +
'AND remediation_issues.issue_id LIKE ?' +
'AND remediation_issues.issue_id LIKE ? ' +
`AND remediation_issue_systems.system_id = ?`,
[issues.join(','), prefix, host_id]
);
Expand Down

0 comments on commit b05ff9c

Please sign in to comment.