diff --git a/src/main/kotlin/org/veupathdb/lib/compute/platform/intern/db/queries/update/queue-job.kt b/src/main/kotlin/org/veupathdb/lib/compute/platform/intern/db/queries/update/queue-job.kt index bcfb290..b10f672 100644 --- a/src/main/kotlin/org/veupathdb/lib/compute/platform/intern/db/queries/update/queue-job.kt +++ b/src/main/kotlin/org/veupathdb/lib/compute/platform/intern/db/queries/update/queue-job.kt @@ -24,8 +24,8 @@ private const val SQL = """ */ internal fun MarkJobQueued(con: Connection, jobID: HashID, queue: String) { con.prepareStatement(SQL).use { ps -> - ps.setBytes(1, jobID.bytes) - ps.setString(2, queue) + ps.setString(1, queue) + ps.setBytes(2, jobID.bytes) ps.execute() } } \ No newline at end of file