Don't include stash_ids if not setting (#2408)

This commit is contained in:
WithoutPants
2022-03-23 08:15:30 +11:00
committed by GitHub
parent b4ecb63e1c
commit 4c4cdae1ed
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
* Improved autotag performance. ([#2368](https://github.com/stashapp/stash/pull/2368))
### 🐛 Bug fixes
* Fix error saving a scene from the tagger when the scene has stash ids. ([#2408](https://github.com/stashapp/stash/pull/2408))
* Perform tag pattern exclusion on stash-box sources. ([#2391](https://github.com/stashapp/stash/pull/2391))
* Don't generate jpg thumbnails for animated webp files. ([#2388](https://github.com/stashapp/stash/pull/2388))
* Removed warnings and incorrect error message in json scrapers. ([#2375](https://github.com/stashapp/stash/pull/2375))

View File

@@ -339,6 +339,9 @@ const StashSearchResult: React.FC<IStashSearchResultProps> = ({
stash_id: scene.remote_site_id,
},
];
} else {
// #2348 - don't include stash_ids if we're not setting them
delete sceneCreateInput.stash_ids;
}
await saveScene(sceneCreateInput, includeStashID);