Skip to content

Commit

Permalink
Merge pull request #104 from js-ojus/js
Browse files Browse the repository at this point in the history
Fix a bug in `workflow.go` with incorrect query parameters.  Fixes #102 .
  • Loading branch information
js-ojus authored Nov 24, 2018
2 parents c4e6e2e + 9016ba1 commit 2312381
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 2312381

Please sign in to comment.