Skip to content

Commit

Permalink
Link Draft ID to modify edits (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
peolic authored Jun 30, 2022
1 parent 4f724f9 commit 863f5d8
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 863f5d8

Please sign in to comment.