add project to logs, project composition mode to goals and fix unweighted counts for other composition modes.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-05-01 12:28:45 +02:00
parent 897f4aa358
commit 589f7a9132
10 changed files with 104 additions and 15 deletions
+1 -4
View File
@@ -85,10 +85,7 @@ func Log(g *gin.RouterGroup, db database.Database) {
return nil, err
}
return &models.LogResult{
Log: log,
Task: &task.Task,
}, nil
return l.FindLog(c.Request.Context(), log.ID)
}))
g.PUT("/:id", handler("log", func(c *gin.Context) (interface{}, error) {