Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed May 16, 2022
1 parent 64498b9 commit d60dae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/graphql/schema/introspection_system_spec.rb
Expand Up @@ -247,10 +247,10 @@ class HidingIntrospectionSchema < GraphQL::Schema
module HideIntrospectionByContext
def visible?(ctx)
super && if introspection?
!ctx[:hide_introspection]
!ctx[:hide_introspection]
else
true
end
end
end
end

Expand Down

0 comments on commit d60dae3

Please sign in to comment.