mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Default SetCoverImage to true in identify (#4855)
This commit is contained in:
@@ -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)
|
ret.CoverImage, err = rel.cover(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user