Skip to content

Commit

Permalink
Fix alert_id to be populated using format string.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pkommini committed Jun 12, 2023
1 parent ab7aa1a commit 8b3d0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions procedures_js/alert_dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ return exec(GET_HANDLERS).rows.map((h) => {
$${handler_num},
$${handler_name}(PARSE_JSON(?), PARSE_JSON(?))
)
WHERE alert_id='$${alert_id}'
WHERE alert_id=?
`,
[alert, payload]
[alert, payload, alert_id]
)

return {
Expand Down

0 comments on commit 8b3d0dd

Please sign in to comment.