Skip to content

Commit 4703362

Browse files
committed
Fix bug with faraday 2.0 syncing graphql queries #390
1 parent 8b54460 commit 4703362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/issue.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def update_board_ids
201201
}
202202
}
203203
GRAPHQL
204-
res = org_github_client.post '/graphql', { query: query }.to_json
204+
res = org_github_client.post('/graphql', { query: query }.to_json).to_h
205205
ids += (res.dig(:data, :repository, :issueOrPullRequest, :projectsNext, :nodes) || []).map{|n| n[:number]}
206206
end
207207

0 commit comments

Comments
 (0)