Should resolve NoMethodError: undefined method 'createdAt' for nil:NilClass seen during registration for some users.
(Coming from @graphql_hash.createdAt in github_pull_request.rb, which would imply @graphql_hash is nil, so GithubPullRequest was instantiated with nil)
Test process
N/A, no idea what the cause is.
Requirements to merge
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
Drop nil values from GitHub response.
Should resolve
NoMethodError: undefined method 'createdAt' for nil:NilClass
seen during registration for some users.(Coming from
@graphql_hash.createdAt
ingithub_pull_request.rb
, which would imply@graphql_hash
is nil, soGithubPullRequest
was instantiated with nil)Test process
N/A, no idea what the cause is.
Requirements to merge