Skip to content

Commit

Permalink
Set performer MD5 if name changed in stash-box tag (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Feb 28, 2022
1 parent 34a7e67 commit 78b7a03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/manager/task_stash_box_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ func (t *StashBoxPerformerTagTask) stashBoxPerformerTag(ctx context.Context) {
if excluded["name"] && performer.Name != nil {
value := sql.NullString{String: *performer.Name, Valid: true}
partial.Name = &value
checksum := utils.MD5FromString(*performer.Name)
partial.Checksum = &checksum
}
if performer.Piercings != nil && !excluded["piercings"] {
value := getNullString(performer.Piercings)
Expand Down

0 comments on commit 78b7a03

Please sign in to comment.