mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Adding disambiguation to performer draft (#4122)
This commit is contained in:
@@ -1133,10 +1133,9 @@ func (c Client) SubmitPerformerDraft(ctx context.Context, performer *models.Perf
|
||||
if performer.Name != "" {
|
||||
draft.Name = performer.Name
|
||||
}
|
||||
// stash-box does not support Disambiguation currently
|
||||
// if performer.Disambiguation != "" {
|
||||
// draft.Disambiguation = performer.Disambiguation
|
||||
// }
|
||||
if performer.Disambiguation != "" {
|
||||
draft.Disambiguation = &performer.Disambiguation
|
||||
}
|
||||
if performer.Birthdate != nil {
|
||||
d := performer.Birthdate.String()
|
||||
draft.Birthdate = &d
|
||||
|
||||
Reference in New Issue
Block a user