mirror of
https://github.com/stashapp/stash.git
synced 2026-01-16 05:02:44 +01:00
Default SetCoverImage to true in identify (#4855)
This commit is contained in:
parent
b12269e477
commit
4d3dc0aec8
1 changed files with 2 additions and 1 deletions
|
|
@ -252,7 +252,8 @@ func (t *SceneIdentifier) getSceneUpdater(ctx context.Context, s *models.Scene,
|
|||
}
|
||||
}
|
||||
|
||||
if utils.IsTrue(options.SetCoverImage) {
|
||||
// SetCoverImage defaults to true if unset
|
||||
if options.SetCoverImage == nil || *options.SetCoverImage {
|
||||
ret.CoverImage, err = rel.cover(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue