Fix circle

This commit is contained in:
noellabo 2022-04-12 00:48:51 +09:00
parent 1f0d4cdd16
commit cf35497935

View file

@ -146,7 +146,7 @@ module JsonLdHelper
unless id
json = fetch_resource_without_id_validation(uri, on_behalf_of)
return if !json.is_a?(Hash) || unsupported_uri_scheme?(json['id'])
return if !json.is_a?(Hash) || json['id'].blank? || unsupported_uri_scheme?(json['id'])
uri = json['id']
end