We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fb39c commit 9dd54ffCopy full SHA for 9dd54ff
1 file changed
app/helpers/jsonld_helper.rb
@@ -68,6 +68,7 @@ def fetch_resource_without_id_validation(uri, on_behalf_of = nil)
68
return body_to_json(response.body_with_limit) if response.code == 200
69
end
70
# If request failed, retry without doing it on behalf of a user
71
+ return if on_behalf_of.nil?
72
build_request(uri).perform do |response|
73
response.code == 200 ? body_to_json(response.body_with_limit) : nil
74
0 commit comments