Fix NoMethodError
in ActivityPub::FetchAllRepliesWorker
(#34682)
This commit is contained in:
parent
aa04efb92a
commit
e8e93b82f1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class ActivityPub::FetchAllRepliesWorker
|
|||
# @param root_status_uri [String]
|
||||
def get_root_replies(root_status_uri, options = {})
|
||||
root_status_body = fetch_resource(root_status_uri, true)
|
||||
raise RuntimeError("FetchAllRepliesWorker - #{@root_status.uri}: Root status could not be fetched") if root_status_body.nil?
|
||||
return if root_status_body.nil?
|
||||
|
||||
FetchReplyWorker.perform_async(root_status_uri, { **options, prefetched_body: root_status_body })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue