mirror of https://github.com/stashapp/stash.git
Default SetCoverImage to true in identify (#4855)
This commit is contained in:
parent
b12269e477
commit
4d3dc0aec8
|
@ -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 New Issue