This commit is contained in:
shoopea 2020-10-11 12:55:07 +02:00
parent 9cf92260e5
commit 8681c97ebd

3
sql.go
View File

@ -969,8 +969,7 @@ func cleanupJobData() {
return
}
jobs, err := jobStmt.Query(r)
err = stmt.QueryRow(jobTypeID64).Scan(&cacheObjType[`job`])
jobs, err := jobStmt.Query(&cacheObjType[`job`])
logOnError(err, "cleanupJobData : query jobStmt")
if err != nil {
jobStmt.Close()