Add fetch_instance_info_worker_spec

This commit is contained in:
KMY 2023-08-11 14:03:04 +09:00
parent 18583e5275
commit 15d0117b3b
4 changed files with 70 additions and 5 deletions

View file

@ -209,7 +209,7 @@ class ActivityPub::ProcessAccountService < BaseService
end
def fetch_instance_info
FetchInstanceInfoWorker.perform_async(@account.domain) unless InstanceInfo.exists?(domain: @account.domain)
ActivityPub::FetchInstanceInfoWorker.perform_async(@account.domain) unless InstanceInfo.exists?(domain: @account.domain)
end
def actor_type