Skip to content

Commit

Permalink
Update lib/graphiql/rails/config.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo authored Feb 23, 2024
1 parent dd5c28a commit 670c06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphiql/rails/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def resolve_headers(view_context)

all_headers.each_with_object({}) do |(key, value), memo|
header_value = value.call(view_context)
memo[key] = header_value if header_value.present?
memo[key] = header_value if !header_value.nil?
end
end
end
Expand Down

0 comments on commit 670c06b

Please sign in to comment.