mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix scan defaults not set correctly
This commit is contained in:
parent
b967b63288
commit
0841d6877a
1 changed files with 3 additions and 1 deletions
|
|
@ -555,7 +555,9 @@ func (r *mutationResolver) ConfigureDefaults(ctx context.Context, input ConfigDe
|
||||||
}
|
}
|
||||||
|
|
||||||
if input.Scan != nil {
|
if input.Scan != nil {
|
||||||
c.Set(config.DefaultScanSettings, input.Scan)
|
// if input.Scan is used then ScanMetadataOptions is included in the config file
|
||||||
|
// this causes the values to not be read correctly
|
||||||
|
c.Set(config.DefaultScanSettings, input.Scan.ScanMetadataOptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
if input.AutoTag != nil {
|
if input.AutoTag != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue