fix log loader not working.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-05-02 08:59:36 +02:00
parent fdc225cf89
commit 2c909e6d85
+1 -1
View File
@@ -126,7 +126,7 @@ func (l *Loader) FindLog(ctx context.Context, id string) (*models.LogResult, err
Task: nil,
}
task, err := l.DB.Tasks().Find(ctx, id)
task, err := l.DB.Tasks().Find(ctx, log.TaskID)
if err != nil {
return nil, err
}