From 59a433a291b78c8ec5ffd6b4d28d4b08a870ee6b Mon Sep 17 00:00:00 2001 From: KMY Date: Fri, 15 Sep 2023 12:31:16 +0900 Subject: [PATCH] Add autientication in status_reference --- app/services/process_references_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/process_references_service.rb b/app/services/process_references_service.rb index bd2b3dd42c1377..c98a0434c79421 100644 --- a/app/services/process_references_service.rb +++ b/app/services/process_references_service.rb @@ -65,7 +65,7 @@ def scan_text! def fetch_statuses!(urls) (urls + @urls) - .map { |url| ResolveURLService.new.call(url) } + .map { |url| ResolveURLService.new.call(url, on_behalf_of: @status.account) } .filter { |status| status } end