Fix batch performer tag panic (#4281)

This commit is contained in:
DingDongSoLong4 2023-11-12 03:50:09 +02:00 committed by GitHub
parent 4715c5ebb2
commit 72779e618d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -825,6 +825,10 @@ func (c Client) FindStashBoxPerformerByID(ctx context.Context, id string) (*mode
return nil, err
}
if performer.FindPerformer == nil {
return nil, nil
}
ret := performerFragmentToScrapedPerformer(*performer.FindPerformer)
r := c.repository