From d60dae3883c0ead1827082c2ef403631edb7bf50 Mon Sep 17 00:00:00 2001 From: Robert Mosolgo Date: Mon, 16 May 2022 14:44:04 -0400 Subject: [PATCH] fix lint error --- spec/graphql/schema/introspection_system_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/graphql/schema/introspection_system_spec.rb b/spec/graphql/schema/introspection_system_spec.rb index f232643594..342be2beb3 100644 --- a/spec/graphql/schema/introspection_system_spec.rb +++ b/spec/graphql/schema/introspection_system_spec.rb @@ -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