mirror of
https://github.com/stashapp/stash.git
synced 2025-12-29 11:45:56 +01:00
Fix identify ScrapedScene conversion (#2071)
This commit is contained in:
parent
09c4c4173d
commit
59883df115
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue