Avoid nil jid call

This commit is contained in:
Matt Jankowski 2026-03-10 11:53:15 -04:00
parent 795e4c4263
commit 3a6c8cd063

View File

@ -49,7 +49,7 @@ class ActivityPub::FetchAllRepliesWorker
# Workers shouldn't be returning anything, but this is used in tests
fetched_uris
ensure
@batch.remove_job(jid)
@batch.remove_job(jid) if jid
end
private