Adding disambiguation to performer draft (#4122)

This commit is contained in:
Flashy78
2024-02-28 17:47:20 -08:00
committed by GitHub
parent b4823bec8a
commit 2ca9e0f43a
3 changed files with 201 additions and 202 deletions

View File

@@ -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