diff --git a/pkg/manager/edit/performer.go b/pkg/manager/edit/performer.go index f30404c6d..1b53b748f 100644 --- a/pkg/manager/edit/performer.go +++ b/pkg/manager/edit/performer.go @@ -123,7 +123,8 @@ func (m *PerformerEditProcessor) mergeEdit(input models.PerformerEditInput, inpu } // perform a diff against the input and the current object - performerEdit, err := input.Details.PerformerEditFromMerge(*performer, mergeSources, inputArgs) + detailArgs := inputArgs.Field("details") + performerEdit, err := input.Details.PerformerEditFromMerge(*performer, mergeSources, detailArgs) if err != nil { return err } diff --git a/pkg/manager/edit/scene.go b/pkg/manager/edit/scene.go index 1eaa22b74..093022ea7 100644 --- a/pkg/manager/edit/scene.go +++ b/pkg/manager/edit/scene.go @@ -277,7 +277,8 @@ func (m *SceneEditProcessor) mergeEdit(input models.SceneEditInput, inputArgs ut } // perform a diff against the input and the current object - sceneEdit, err := input.Details.SceneEditFromMerge(*scene, mergeSources, inputArgs) + detailArgs := inputArgs.Field("details") + sceneEdit, err := input.Details.SceneEditFromMerge(*scene, mergeSources, detailArgs) if err != nil { return err } diff --git a/pkg/manager/edit/studio.go b/pkg/manager/edit/studio.go index 5066daf0d..f8b235ebb 100644 --- a/pkg/manager/edit/studio.go +++ b/pkg/manager/edit/studio.go @@ -154,7 +154,8 @@ func (m *StudioEditProcessor) mergeEdit(input models.StudioEditInput, inputArgs } // perform a diff against the input and the current object - studioEdit, err := input.Details.StudioEditFromMerge(*studio, mergeSources, inputArgs) + detailArgs := inputArgs.Field("details") + studioEdit, err := input.Details.StudioEditFromMerge(*studio, mergeSources, detailArgs) if err != nil { return err } diff --git a/pkg/manager/edit/tag.go b/pkg/manager/edit/tag.go index 875f13672..17160e6ad 100644 --- a/pkg/manager/edit/tag.go +++ b/pkg/manager/edit/tag.go @@ -115,7 +115,8 @@ func (m *TagEditProcessor) mergeEdit(input models.TagEditInput, inputArgs utils. } // perform a diff against the input and the current object - tagEdit := input.Details.TagEditFromMerge(*tag, mergeSources, inputArgs) + detailArgs := inputArgs.Field("details") + tagEdit := input.Details.TagEditFromMerge(*tag, mergeSources, detailArgs) aliases, err := tqb.GetAliases(tagID)