Skip to content

Commit

Permalink
Fix bug with faraday 2.0 syncing graphql queries #390
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jun 6, 2022
1 parent 8b54460 commit 4703362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/issue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def update_board_ids
}
}
GRAPHQL
res = org_github_client.post '/graphql', { query: query }.to_json
res = org_github_client.post('/graphql', { query: query }.to_json).to_h
ids += (res.dig(:data, :repository, :issueOrPullRequest, :projectsNext, :nodes) || []).map{|n| n[:number]}
end

Expand Down

0 comments on commit 4703362

Please sign in to comment.