mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 12:52:38 +01:00
Set performer MD5 if name changed in stash-box tag (#2345)
This commit is contained in:
parent
34a7e67b29
commit
78b7a035d8
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue