mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix relationship not loaded panic (#2915)
This commit is contained in:
parent
7a75313a1c
commit
90726086e5
1 changed files with 4 additions and 0 deletions
|
|
@ -467,6 +467,10 @@ func (me *contentDirectoryService) getVideos(sceneFilter *models.SceneFilterType
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for _, s := range scenes {
|
for _, s := range scenes {
|
||||||
|
if err := s.LoadPrimaryFile(ctx, me.repository.FileFinder); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
objs = append(objs, sceneToContainer(s, parentID, host))
|
objs = append(objs, sceneToContainer(s, parentID, host))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue