diff --git a/lib/graphiti/util/link.rb b/lib/graphiti/util/link.rb index 49f8332a..9390a2eb 100644 --- a/lib/graphiti/util/link.rb +++ b/lib/graphiti/util/link.rb @@ -48,6 +48,7 @@ def raw_url def on_demand_links(url) return url unless Graphiti.config.links_on_demand + return unless url url << if url.include?("?") "&links=true"