Skip to content

Commit

Permalink
Fix a bug in workflow.go with incorrect query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
js-ojus committed Nov 24, 2018
1 parent c4e6e2e commit 9016ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (_Workflows) AddNode(otx *sql.Tx, dtype DocTypeID, state DocStateID,

q := `
INSERT INTO wf_workflow_nodes(doctype_id, docstate_id, ac_id, workflow_id, name, type)
VALUES(?, ?, ?, ?, ?)
VALUES(?, ?, ?, ?, ?, ?)
`
res, err := tx.Exec(q, dtype, state, ac, wid, name, string(ntype))
if err != nil {
Expand Down

0 comments on commit 9016ba1

Please sign in to comment.