about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/services/fetch_remote_status_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/fetch_remote_status_service.rb b/app/services/fetch_remote_status_service.rb
index 4fde2b395..e8f9a671b 100644
--- a/app/services/fetch_remote_status_service.rb
+++ b/app/services/fetch_remote_status_service.rb
@@ -4,6 +4,7 @@ class FetchRemoteStatusService < BaseService
   def call(url, prefetched_body = nil, announced_by: nil, requested: false)
     if prefetched_body.nil?
       resource_url, resource_options = FetchAtomService.new.call(url)
+      resource_options = {} if resource_options.nil?
     else
       resource_url     = url
       resource_options = { prefetched_body: prefetched_body }