diff --git a/services/loader.go b/services/loader.go index 545f995..3cb0756 100644 --- a/services/loader.go +++ b/services/loader.go @@ -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 }