Remove GraphQL debug output
Let's get this ready to go since we don't want to accidentally leak private information.
This commit is contained in:
parent
1d71ee8f16
commit
cabbb0b8e3
@ -334,7 +334,6 @@ module GitHub
|
|||||||
def self.open_graphql(query, variables: nil, scopes: [].freeze, raise_errors: true)
|
def self.open_graphql(query, variables: nil, scopes: [].freeze, raise_errors: true)
|
||||||
data = { query:, variables: }
|
data = { query:, variables: }
|
||||||
result = open_rest("#{API_URL}/graphql", scopes:, data:, request_method: "POST")
|
result = open_rest("#{API_URL}/graphql", scopes:, data:, request_method: "POST")
|
||||||
odebug "GraphQL Query Response", result
|
|
||||||
|
|
||||||
if raise_errors
|
if raise_errors
|
||||||
if result["errors"].present?
|
if result["errors"].present?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user