Skip to content

Commit

Permalink
Link Draft ID to modify edits (stashapp#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
peolic authored and feederbox826 committed Nov 15, 2023
1 parent 0ba2054 commit 7b7790a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/manager/edit/performer.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ func (m *PerformerEditProcessor) modifyEdit(input models.PerformerEditInput, inp
return ErrNoChanges
}

performerEdit.New.DraftID = input.Details.DraftID

return m.edit.SetData(*performerEdit)
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/manager/edit/scene.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ func (m *SceneEditProcessor) modifyEdit(input models.SceneEditInput, inputSpecif
return ErrNoChanges
}

sceneEdit.New.DraftID = input.Details.DraftID

return m.edit.SetData(*sceneEdit)
}

Expand Down

0 comments on commit 7b7790a

Please sign in to comment.