mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-24 23:29:30 -05:00
Avoid nil jid call
This commit is contained in:
parent
795e4c4263
commit
3a6c8cd063
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user