From 72779e618d1a6196c44960dc2a3ba3c29b813019 Mon Sep 17 00:00:00 2001 From: DingDongSoLong4 <99329275+DingDongSoLong4@users.noreply.github.com> Date: Sun, 12 Nov 2023 03:50:09 +0200 Subject: [PATCH] Fix batch performer tag panic (#4281) --- pkg/scraper/stashbox/stash_box.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/scraper/stashbox/stash_box.go b/pkg/scraper/stashbox/stash_box.go index 56285af5c..c4f02b982 100644 --- a/pkg/scraper/stashbox/stash_box.go +++ b/pkg/scraper/stashbox/stash_box.go @@ -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