From 2c909e6d85604f2332a01ff0e215dde6ef46b2d7 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 2 May 2021 08:59:36 +0200 Subject: [PATCH] fix log loader not working. --- services/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }