mirror of https://github.com/stashapp/stash.git
Set performer MD5 if name changed in stash-box tag (#2345)
This commit is contained in:
parent
34a7e67b29
commit
78b7a035d8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue