Sat, 04 Dec 2021 17:45:50 +0100
fixes number of parameters
src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt | file | annotate | diff | comparison | revisions |
--- a/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt Sat Dec 04 17:43:34 2021 +0100 +++ b/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt Sat Dec 04 17:45:50 2021 +0100 @@ -688,7 +688,7 @@ setEnum(3, type) querySingle { it.getInt(1) }!! } - withStatement("insert into lpit_issue_comment_history (commentid, eventid, comment) values (?,?,?,?)") { + withStatement("insert into lpit_issue_comment_history (commentid, eventid, comment) values (?,?,?)") { setInt(1, commentid) setInt(2, eventid) setString(3, issueComment.comment)