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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ type SceneRelationships struct {
func (r SceneRelationships) MatchRelationships(ctx context.Context, s *models.ScrapedScene, endpoint string) error { func (r SceneRelationships) MatchRelationships(ctx context.Context, s *models.ScrapedScene, endpoint string) error {
thisStudio := s.Studio thisStudio := s.Studio
for thisStudio != nil { 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 return err
} }