{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1","id":214181160,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTgxMTYw","html_url":"https://github.com/GHMatti/ghmattimysql/pull/1","diff_url":"https://github.com/GHMatti/ghmattimysql/pull/1.diff","patch_url":"https://github.com/GHMatti/ghmattimysql/pull/1.patch","issue_url":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/1","number":1,"state":"closed","locked":false,"title":"fix scalar NULLs","user":{"login":"justcfx2u","id":1443861,"node_id":"MDQ6VXNlcjE0NDM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1443861?v=4","gravatar_id":"","url":"https://api.github.com/users/justcfx2u","html_url":"https://github.com/justcfx2u","followers_url":"https://api.github.com/users/justcfx2u/followers","following_url":"https://api.github.com/users/justcfx2u/following{/other_user}","gists_url":"https://api.github.com/users/justcfx2u/gists{/gist_id}","starred_url":"https://api.github.com/users/justcfx2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcfx2u/subscriptions","organizations_url":"https://api.github.com/users/justcfx2u/orgs","repos_url":"https://api.github.com/users/justcfx2u/repos","events_url":"https://api.github.com/users/justcfx2u/events{/privacy}","received_events_url":"https://api.github.com/users/justcfx2u/received_events","type":"User","site_admin":false},"body":"Prevent error when scalar returns NULL.\r\n\r\n```\r\nError: (node:3416) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object\r\n    at Function.values (<anonymous>)\r\n    at execute.then.result (ghmattimysql.js:390:1800)\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n```","created_at":"2018-09-10T02:05:18Z","updated_at":"2018-09-10T07:01:13Z","closed_at":"2018-09-10T07:01:13Z","merged_at":"2018-09-10T07:01:13Z","merge_commit_sha":"d4cde01f2d9a90b5e5625a5977671c7957f76d08","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1/commits","review_comments_url":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1/comments","review_comment_url":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/1/comments","statuses_url":"https://api.github.com/repos/GHMatti/ghmattimysql/statuses/1b64d41d0e1bef5bece3443afda20c48393a7e4e","head":{"label":"justcfx2u:master","ref":"master","sha":"1b64d41d0e1bef5bece3443afda20c48393a7e4e","user":{"login":"justcfx2u","id":1443861,"node_id":"MDQ6VXNlcjE0NDM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1443861?v=4","gravatar_id":"","url":"https://api.github.com/users/justcfx2u","html_url":"https://github.com/justcfx2u","followers_url":"https://api.github.com/users/justcfx2u/followers","following_url":"https://api.github.com/users/justcfx2u/following{/other_user}","gists_url":"https://api.github.com/users/justcfx2u/gists{/gist_id}","starred_url":"https://api.github.com/users/justcfx2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcfx2u/subscriptions","organizations_url":"https://api.github.com/users/justcfx2u/orgs","repos_url":"https://api.github.com/users/justcfx2u/repos","events_url":"https://api.github.com/users/justcfx2u/events{/privacy}","received_events_url":"https://api.github.com/users/justcfx2u/received_events","type":"User","site_admin":false},"repo":{"id":148084888,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgwODQ4ODg=","name":"ghmattimysql","full_name":"justcfx2u/ghmattimysql","owner":{"login":"justcfx2u","id":1443861,"node_id":"MDQ6VXNlcjE0NDM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1443861?v=4","gravatar_id":"","url":"https://api.github.com/users/justcfx2u","html_url":"https://github.com/justcfx2u","followers_url":"https://api.github.com/users/justcfx2u/followers","following_url":"https://api.github.com/users/justcfx2u/following{/other_user}","gists_url":"https://api.github.com/users/justcfx2u/gists{/gist_id}","starred_url":"https://api.github.com/users/justcfx2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcfx2u/subscriptions","organizations_url":"https://api.github.com/users/justcfx2u/orgs","repos_url":"https://api.github.com/users/justcfx2u/repos","events_url":"https://api.github.com/users/justcfx2u/events{/privacy}","received_events_url":"https://api.github.com/users/justcfx2u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justcfx2u/ghmattimysql","description":"A mysql middleware for FiveM","fork":true,"url":"https://api.github.com/repos/justcfx2u/ghmattimysql","forks_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/forks","keys_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/teams","hooks_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/hooks","issue_events_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/issues/events{/number}","events_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/events","assignees_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/assignees{/user}","branches_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/branches{/branch}","tags_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/tags","blobs_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/statuses/{sha}","languages_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/languages","stargazers_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/stargazers","contributors_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/contributors","subscribers_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/subscribers","subscription_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/subscription","commits_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/contents/{+path}","compare_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/merges","archive_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/downloads","issues_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/issues{/number}","pulls_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/pulls{/number}","milestones_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/milestones{/number}","notifications_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/labels{/name}","releases_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/releases{/id}","deployments_url":"https://api.github.com/repos/justcfx2u/ghmattimysql/deployments","created_at":"2018-09-10T01:56:24Z","updated_at":"2018-09-10T07:00:41Z","pushed_at":"2018-09-10T07:00:40Z","git_url":"git://github.com/justcfx2u/ghmattimysql.git","ssh_url":"git@github.com:justcfx2u/ghmattimysql.git","clone_url":"https://github.com/justcfx2u/ghmattimysql.git","svn_url":"https://github.com/justcfx2u/ghmattimysql","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GHMatti:master","ref":"master","sha":"d9b692d0d68994568e6e77fee05c8c72da8245a5","user":{"login":"GHMatti","id":33543464,"node_id":"MDQ6VXNlcjMzNTQzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/33543464?v=4","gravatar_id":"","url":"https://api.github.com/users/GHMatti","html_url":"https://github.com/GHMatti","followers_url":"https://api.github.com/users/GHMatti/followers","following_url":"https://api.github.com/users/GHMatti/following{/other_user}","gists_url":"https://api.github.com/users/GHMatti/gists{/gist_id}","starred_url":"https://api.github.com/users/GHMatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHMatti/subscriptions","organizations_url":"https://api.github.com/users/GHMatti/orgs","repos_url":"https://api.github.com/users/GHMatti/repos","events_url":"https://api.github.com/users/GHMatti/events{/privacy}","received_events_url":"https://api.github.com/users/GHMatti/received_events","type":"User","site_admin":false},"repo":{"id":147247406,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyNDc0MDY=","name":"ghmattimysql","full_name":"GHMatti/ghmattimysql","owner":{"login":"GHMatti","id":33543464,"node_id":"MDQ6VXNlcjMzNTQzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/33543464?v=4","gravatar_id":"","url":"https://api.github.com/users/GHMatti","html_url":"https://github.com/GHMatti","followers_url":"https://api.github.com/users/GHMatti/followers","following_url":"https://api.github.com/users/GHMatti/following{/other_user}","gists_url":"https://api.github.com/users/GHMatti/gists{/gist_id}","starred_url":"https://api.github.com/users/GHMatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHMatti/subscriptions","organizations_url":"https://api.github.com/users/GHMatti/orgs","repos_url":"https://api.github.com/users/GHMatti/repos","events_url":"https://api.github.com/users/GHMatti/events{/privacy}","received_events_url":"https://api.github.com/users/GHMatti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GHMatti/ghmattimysql","description":"A mysql middleware for FiveM","fork":false,"url":"https://api.github.com/repos/GHMatti/ghmattimysql","forks_url":"https://api.github.com/repos/GHMatti/ghmattimysql/forks","keys_url":"https://api.github.com/repos/GHMatti/ghmattimysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GHMatti/ghmattimysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GHMatti/ghmattimysql/teams","hooks_url":"https://api.github.com/repos/GHMatti/ghmattimysql/hooks","issue_events_url":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/events{/number}","events_url":"https://api.github.com/repos/GHMatti/ghmattimysql/events","assignees_url":"https://api.github.com/repos/GHMatti/ghmattimysql/assignees{/user}","branches_url":"https://api.github.com/repos/GHMatti/ghmattimysql/branches{/branch}","tags_url":"https://api.github.com/repos/GHMatti/ghmattimysql/tags","blobs_url":"https://api.github.com/repos/GHMatti/ghmattimysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GHMatti/ghmattimysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GHMatti/ghmattimysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/GHMatti/ghmattimysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GHMatti/ghmattimysql/statuses/{sha}","languages_url":"https://api.github.com/repos/GHMatti/ghmattimysql/languages","stargazers_url":"https://api.github.com/repos/GHMatti/ghmattimysql/stargazers","contributors_url":"https://api.github.com/repos/GHMatti/ghmattimysql/contributors","subscribers_url":"https://api.github.com/repos/GHMatti/ghmattimysql/subscribers","subscription_url":"https://api.github.com/repos/GHMatti/ghmattimysql/subscription","commits_url":"https://api.github.com/repos/GHMatti/ghmattimysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/GHMatti/ghmattimysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/GHMatti/ghmattimysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/GHMatti/ghmattimysql/contents/{+path}","compare_url":"https://api.github.com/repos/GHMatti/ghmattimysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GHMatti/ghmattimysql/merges","archive_url":"https://api.github.com/repos/GHMatti/ghmattimysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GHMatti/ghmattimysql/downloads","issues_url":"https://api.github.com/repos/GHMatti/ghmattimysql/issues{/number}","pulls_url":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls{/number}","milestones_url":"https://api.github.com/repos/GHMatti/ghmattimysql/milestones{/number}","notifications_url":"https://api.github.com/repos/GHMatti/ghmattimysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GHMatti/ghmattimysql/labels{/name}","releases_url":"https://api.github.com/repos/GHMatti/ghmattimysql/releases{/id}","deployments_url":"https://api.github.com/repos/GHMatti/ghmattimysql/deployments","created_at":"2018-09-03T19:53:53Z","updated_at":"2018-09-09T16:34:14Z","pushed_at":"2018-09-10T07:01:13Z","git_url":"git://github.com/GHMatti/ghmattimysql.git","ssh_url":"git@github.com:GHMatti/ghmattimysql.git","clone_url":"https://github.com/GHMatti/ghmattimysql.git","svn_url":"https://github.com/GHMatti/ghmattimysql","homepage":"","size":20,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1"},"html":{"href":"https://github.com/GHMatti/ghmattimysql/pull/1"},"issue":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/1"},"comments":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/GHMatti/ghmattimysql/statuses/1b64d41d0e1bef5bece3443afda20c48393a7e4e"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"GHMatti","id":33543464,"node_id":"MDQ6VXNlcjMzNTQzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/33543464?v=4","gravatar_id":"","url":"https://api.github.com/users/GHMatti","html_url":"https://github.com/GHMatti","followers_url":"https://api.github.com/users/GHMatti/followers","following_url":"https://api.github.com/users/GHMatti/following{/other_user}","gists_url":"https://api.github.com/users/GHMatti/gists{/gist_id}","starred_url":"https://api.github.com/users/GHMatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHMatti/subscriptions","organizations_url":"https://api.github.com/users/GHMatti/orgs","repos_url":"https://api.github.com/users/GHMatti/repos","events_url":"https://api.github.com/users/GHMatti/events{/privacy}","received_events_url":"https://api.github.com/users/GHMatti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"GHMatti"}}