mirror of
https://github.com/stashapp/stash.git
synced 2026-05-12 12:38:46 -05:00
Fix identify ScrapedScene conversion (#2071)
This commit is contained in:
@@ -239,8 +239,8 @@ func (s scraperSource) ScrapeScene(ctx context.Context, sceneID int) (*models.Sc
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if scene, ok := content.(*models.ScrapedScene); ok {
|
||||
return scene, nil
|
||||
if scene, ok := content.(models.ScrapedScene); ok {
|
||||
return &scene, nil
|
||||
}
|
||||
|
||||
return nil, errors.New("could not convert content to scene")
|
||||
|
||||
Reference in New Issue
Block a user