mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Set performer MD5 if name changed in stash-box tag (#2345)
This commit is contained in:
@@ -135,6 +135,8 @@ func (t *StashBoxPerformerTagTask) stashBoxPerformerTag(ctx context.Context) {
|
|||||||
if excluded["name"] && performer.Name != nil {
|
if excluded["name"] && performer.Name != nil {
|
||||||
value := sql.NullString{String: *performer.Name, Valid: true}
|
value := sql.NullString{String: *performer.Name, Valid: true}
|
||||||
partial.Name = &value
|
partial.Name = &value
|
||||||
|
checksum := utils.MD5FromString(*performer.Name)
|
||||||
|
partial.Checksum = &checksum
|
||||||
}
|
}
|
||||||
if performer.Piercings != nil && !excluded["piercings"] {
|
if performer.Piercings != nil && !excluded["piercings"] {
|
||||||
value := getNullString(performer.Piercings)
|
value := getNullString(performer.Piercings)
|
||||||
|
|||||||
Reference in New Issue
Block a user