Fix incorrect key being checked for override (#3212)

This commit is contained in:
WithoutPants
2022-11-30 09:34:05 +11:00
committed by GitHub
parent 5e332514fa
commit 0b19a00ba8
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ func (r *mutationResolver) ConfigureGeneral(ctx context.Context, input ConfigGen
} }
validateDir := func(key string, value string, optional bool) error { validateDir := func(key string, value string, optional bool) error {
if err := checkConfigOverride(config.Metadata); err != nil { if err := checkConfigOverride(key); err != nil {
return err return err
} }

View File

@@ -26,6 +26,7 @@
* Changed Performer height to be numeric, and changed filtering accordingly. ([#3060](https://github.com/stashapp/stash/pull/3060)) * Changed Performer height to be numeric, and changed filtering accordingly. ([#3060](https://github.com/stashapp/stash/pull/3060))
### 🐛 Bug fixes ### 🐛 Bug fixes
* Fixed error when editing paths when metadata directory is overridden. ([#3212](https://github.com/stashapp/stash/pull/3212))
* Fixed sort direction sometimes not being set when selecting a saved filter. ([#3206](https://github.com/stashapp/stash/pull/3206)) * Fixed sort direction sometimes not being set when selecting a saved filter. ([#3206](https://github.com/stashapp/stash/pull/3206))
* Fixed hang when deleting scene when video has started playing in Firefox. ([#3169](https://github.com/stashapp/stash/pull/3169)) * Fixed hang when deleting scene when video has started playing in Firefox. ([#3169](https://github.com/stashapp/stash/pull/3169))
* Fixed `index.html` not correctly served from custom mapped folders. ([#3168](https://github.com/stashapp/stash/pull/3168)) * Fixed `index.html` not correctly served from custom mapped folders. ([#3168](https://github.com/stashapp/stash/pull/3168))