Fix to find a match for a parent studio (#5810)

This commit is contained in:
mz28k
2025-04-07 07:58:59 +03:00
committed by GitHub
parent 87d01e86fd
commit 2375bc6cac

View File

@@ -30,7 +30,7 @@ type SceneRelationships struct {
func (r SceneRelationships) MatchRelationships(ctx context.Context, s *models.ScrapedScene, endpoint string) error {
thisStudio := s.Studio
for thisStudio != nil {
if err := ScrapedStudio(ctx, r.StudioFinder, s.Studio, endpoint); err != nil {
if err := ScrapedStudio(ctx, r.StudioFinder, thisStudio, endpoint); err != nil {
return err
}