This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ func (l *Loader) FindLog(ctx context.Context, id string) (*models.LogResult, err
|
|||||||
Task: nil,
|
Task: nil,
|
||||||
}
|
}
|
||||||
|
|
||||||
task, err := l.DB.Tasks().Find(ctx, id)
|
task, err := l.DB.Tasks().Find(ctx, log.TaskID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user