mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Use changesets correctly when updating objects (#976)
This commit is contained in:
@@ -73,7 +73,7 @@ func (i *Importer) Create() (*int, error) {
|
||||
func (i *Importer) Update(id int) error {
|
||||
performer := i.performer
|
||||
performer.ID = id
|
||||
_, err := i.ReaderWriter.Update(performer)
|
||||
_, err := i.ReaderWriter.UpdateFull(performer)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error updating existing performer: %s", err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user