lib/eco/api/usecases/graphql/helpers/base/graphql_env.rb in eco-helpers-3.0.14 vs lib/eco/api/usecases/graphql/helpers/base/graphql_env.rb in eco-helpers-3.0.15
- old
+ new
@@ -6,9 +6,10 @@
private
def graphql
msg = "The credentials or basic graphql config are missing for the active environment"
raise msg unless session.api?(version: :graphql)
+
@graphql ||= session.api(version: :graphql)
end
end
end