diff --git a/app/models/issue.rb b/app/models/issue.rb index 7c7af109..43b19cd0 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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