Merge pull request #18201 from Homebrew/rm-graphql-debug

This commit is contained in:
Carlo Cabrera 2024-08-30 10:56:39 +08:00 committed by GitHub
commit 6b8a28bb05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -334,7 +334,6 @@ module GitHub
def self.open_graphql(query, variables: nil, scopes: [].freeze, raise_errors: true)
data = { query:, variables: }
result = open_rest("#{API_URL}/graphql", scopes:, data:, request_method: "POST")
odebug "GraphQL Query Response", result
if raise_errors
if result["errors"].present?