mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 14:41:22 +00:00
Migrate to Xorm (#474)
close #234 * Migrate store * Migrate tests * Rewrite migrations * Init fresh DB in on step * Rm old stuff (meddler, sql files, dead code, ...)
This commit is contained in:
@@ -138,7 +138,7 @@ func LogStreamSSE(c *gin.Context) {
|
||||
|
||||
// // parse the build number and job sequence number from
|
||||
// // the repquest parameter.
|
||||
buildn, _ := strconv.Atoi(c.Param("build"))
|
||||
buildn, _ := strconv.ParseInt(c.Param("build"), 10, 64)
|
||||
jobn, _ := strconv.Atoi(c.Param("number"))
|
||||
|
||||
build, err := store_.GetBuildNumber(repo, buildn)
|
||||
|
Reference in New Issue
Block a user