From fdc225cf89aed2a3f4e8f889fe2a2e74fe0c41a5 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sat, 1 May 2021 18:12:41 +0200 Subject: [PATCH] fix add log not working. --- services/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/loader.go b/services/loader.go index 9b69a9d..545f995 100644 --- a/services/loader.go +++ b/services/loader.go @@ -131,7 +131,7 @@ func (l *Loader) FindLog(ctx context.Context, id string) (*models.LogResult, err return nil, err } - project, err := l.DB.Projects().Find(ctx, id) + project, err := l.DB.Projects().Find(ctx, task.ProjectID) if err != nil { return nil, err }