fixes number of parameters

Sat, 04 Dec 2021 17:45:50 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 04 Dec 2021 17:45:50 +0100
changeset 245
97b4d0605318
parent 244
28052f3b9cf9
child 246
9a81a11be70e

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)

mercurial