{"action":"created","comment":{"url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/comments/113153724","pull_request_review_id":34517758,"id":113153724,"diff_hunk":"@@ -0,0 +1,20 @@\n+const config = require('./config.js');\n+const cl = require('./client.js');\n+const client = cl(config);\n+\n+const insertUser = (data,cb)=>{\n+  const sqlQuery = `INSERT INTO users(email,priveleges,first_name,last_name)VALUES('${data.email}','1','${data.firstName}','${data.lastName}')`;","path":"src/database/user.js","position":6,"original_position":6,"commit_id":"58a959a3c357c1056e073066c3974f4cfd341883","original_commit_id":"58a959a3c357c1056e073066c3974f4cfd341883","user":{"login":"saralk","id":748653,"avatar_url":"https://avatars1.githubusercontent.com/u/748653?v=3","gravatar_id":"","url":"https://api.github.com/users/saralk","html_url":"https://github.com/saralk","followers_url":"https://api.github.com/users/saralk/followers","following_url":"https://api.github.com/users/saralk/following{/other_user}","gists_url":"https://api.github.com/users/saralk/gists{/gist_id}","starred_url":"https://api.github.com/users/saralk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saralk/subscriptions","organizations_url":"https://api.github.com/users/saralk/orgs","repos_url":"https://api.github.com/users/saralk/repos","events_url":"https://api.github.com/users/saralk/events{/privacy}","received_events_url":"https://api.github.com/users/saralk/received_events","type":"User","site_admin":false},"body":"DON'T DO THIS!!!!","created_at":"2017-04-25T09:57:03Z","updated_at":"2017-04-25T09:57:03Z","html_url":"https://github.com/gazaskygeeks/room-booker/pull/8#discussion_r113153724","pull_request_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/comments/113153724"},"html":{"href":"https://github.com/gazaskygeeks/room-booker/pull/8#discussion_r113153724"},"pull_request":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8","id":117431205,"html_url":"https://github.com/gazaskygeeks/room-booker/pull/8","diff_url":"https://github.com/gazaskygeeks/room-booker/pull/8.diff","patch_url":"https://github.com/gazaskygeeks/room-booker/pull/8.patch","issue_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/8","number":8,"state":"open","locked":false,"title":"add bootstrap as a file instead of cdn link","user":{"login":"muhmushtaha","id":25417060,"avatar_url":"https://avatars3.githubusercontent.com/u/25417060?v=3","gravatar_id":"","url":"https://api.github.com/users/muhmushtaha","html_url":"https://github.com/muhmushtaha","followers_url":"https://api.github.com/users/muhmushtaha/followers","following_url":"https://api.github.com/users/muhmushtaha/following{/other_user}","gists_url":"https://api.github.com/users/muhmushtaha/gists{/gist_id}","starred_url":"https://api.github.com/users/muhmushtaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhmushtaha/subscriptions","organizations_url":"https://api.github.com/users/muhmushtaha/orgs","repos_url":"https://api.github.com/users/muhmushtaha/repos","events_url":"https://api.github.com/users/muhmushtaha/events{/privacy}","received_events_url":"https://api.github.com/users/muhmushtaha/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-25T08:41:11Z","updated_at":"2017-04-25T09:57:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f63cc0569cd9aad4202acb49aeb3f4b32d4c88ff","assignee":{"login":"muhmushtaha","id":25417060,"avatar_url":"https://avatars3.githubusercontent.com/u/25417060?v=3","gravatar_id":"","url":"https://api.github.com/users/muhmushtaha","html_url":"https://github.com/muhmushtaha","followers_url":"https://api.github.com/users/muhmushtaha/followers","following_url":"https://api.github.com/users/muhmushtaha/following{/other_user}","gists_url":"https://api.github.com/users/muhmushtaha/gists{/gist_id}","starred_url":"https://api.github.com/users/muhmushtaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhmushtaha/subscriptions","organizations_url":"https://api.github.com/users/muhmushtaha/orgs","repos_url":"https://api.github.com/users/muhmushtaha/repos","events_url":"https://api.github.com/users/muhmushtaha/events{/privacy}","received_events_url":"https://api.github.com/users/muhmushtaha/received_events","type":"User","site_admin":false},"assignees":[{"login":"muhmushtaha","id":25417060,"avatar_url":"https://avatars3.githubusercontent.com/u/25417060?v=3","gravatar_id":"","url":"https://api.github.com/users/muhmushtaha","html_url":"https://github.com/muhmushtaha","followers_url":"https://api.github.com/users/muhmushtaha/followers","following_url":"https://api.github.com/users/muhmushtaha/following{/other_user}","gists_url":"https://api.github.com/users/muhmushtaha/gists{/gist_id}","starred_url":"https://api.github.com/users/muhmushtaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhmushtaha/subscriptions","organizations_url":"https://api.github.com/users/muhmushtaha/orgs","repos_url":"https://api.github.com/users/muhmushtaha/repos","events_url":"https://api.github.com/users/muhmushtaha/events{/privacy}","received_events_url":"https://api.github.com/users/muhmushtaha/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8/commits","review_comments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8/comments","review_comment_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/8/comments","statuses_url":"https://api.github.com/repos/gazaskygeeks/room-booker/statuses/58a959a3c357c1056e073066c3974f4cfd341883","head":{"label":"gazaskygeeks:develop","ref":"develop","sha":"58a959a3c357c1056e073066c3974f4cfd341883","user":{"login":"gazaskygeeks","id":25309521,"avatar_url":"https://avatars2.githubusercontent.com/u/25309521?v=3","gravatar_id":"","url":"https://api.github.com/users/gazaskygeeks","html_url":"https://github.com/gazaskygeeks","followers_url":"https://api.github.com/users/gazaskygeeks/followers","following_url":"https://api.github.com/users/gazaskygeeks/following{/other_user}","gists_url":"https://api.github.com/users/gazaskygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/gazaskygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazaskygeeks/subscriptions","organizations_url":"https://api.github.com/users/gazaskygeeks/orgs","repos_url":"https://api.github.com/users/gazaskygeeks/repos","events_url":"https://api.github.com/users/gazaskygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/gazaskygeeks/received_events","type":"Organization","site_admin":false},"repo":{"id":88590534,"name":"room-booker","full_name":"gazaskygeeks/room-booker","owner":{"login":"gazaskygeeks","id":25309521,"avatar_url":"https://avatars2.githubusercontent.com/u/25309521?v=3","gravatar_id":"","url":"https://api.github.com/users/gazaskygeeks","html_url":"https://github.com/gazaskygeeks","followers_url":"https://api.github.com/users/gazaskygeeks/followers","following_url":"https://api.github.com/users/gazaskygeeks/following{/other_user}","gists_url":"https://api.github.com/users/gazaskygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/gazaskygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazaskygeeks/subscriptions","organizations_url":"https://api.github.com/users/gazaskygeeks/orgs","repos_url":"https://api.github.com/users/gazaskygeeks/repos","events_url":"https://api.github.com/users/gazaskygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/gazaskygeeks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gazaskygeeks/room-booker","description":"GSG Project","fork":false,"url":"https://api.github.com/repos/gazaskygeeks/room-booker","forks_url":"https://api.github.com/repos/gazaskygeeks/room-booker/forks","keys_url":"https://api.github.com/repos/gazaskygeeks/room-booker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gazaskygeeks/room-booker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gazaskygeeks/room-booker/teams","hooks_url":"https://api.github.com/repos/gazaskygeeks/room-booker/hooks","issue_events_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/events{/number}","events_url":"https://api.github.com/repos/gazaskygeeks/room-booker/events","assignees_url":"https://api.github.com/repos/gazaskygeeks/room-booker/assignees{/user}","branches_url":"https://api.github.com/repos/gazaskygeeks/room-booker/branches{/branch}","tags_url":"https://api.github.com/repos/gazaskygeeks/room-booker/tags","blobs_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/refs{/sha}","trees_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gazaskygeeks/room-booker/statuses/{sha}","languages_url":"https://api.github.com/repos/gazaskygeeks/room-booker/languages","stargazers_url":"https://api.github.com/repos/gazaskygeeks/room-booker/stargazers","contributors_url":"https://api.github.com/repos/gazaskygeeks/room-booker/contributors","subscribers_url":"https://api.github.com/repos/gazaskygeeks/room-booker/subscribers","subscription_url":"https://api.github.com/repos/gazaskygeeks/room-booker/subscription","commits_url":"https://api.github.com/repos/gazaskygeeks/room-booker/commits{/sha}","git_commits_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/commits{/sha}","comments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/comments{/number}","issue_comment_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/comments{/number}","contents_url":"https://api.github.com/repos/gazaskygeeks/room-booker/contents/{+path}","compare_url":"https://api.github.com/repos/gazaskygeeks/room-booker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gazaskygeeks/room-booker/merges","archive_url":"https://api.github.com/repos/gazaskygeeks/room-booker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gazaskygeeks/room-booker/downloads","issues_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues{/number}","pulls_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls{/number}","milestones_url":"https://api.github.com/repos/gazaskygeeks/room-booker/milestones{/number}","notifications_url":"https://api.github.com/repos/gazaskygeeks/room-booker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gazaskygeeks/room-booker/labels{/name}","releases_url":"https://api.github.com/repos/gazaskygeeks/room-booker/releases{/id}","deployments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/deployments","created_at":"2017-04-18T06:35:28Z","updated_at":"2017-04-19T06:46:10Z","pushed_at":"2017-04-25T08:41:11Z","git_url":"git://github.com/gazaskygeeks/room-booker.git","ssh_url":"git@github.com:gazaskygeeks/room-booker.git","clone_url":"https://github.com/gazaskygeeks/room-booker.git","svn_url":"https://github.com/gazaskygeeks/room-booker","homepage":null,"size":564,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"gazaskygeeks:master","ref":"master","sha":"7c06875e52693db5f3ab6be4345c9aa9d7ed0490","user":{"login":"gazaskygeeks","id":25309521,"avatar_url":"https://avatars2.githubusercontent.com/u/25309521?v=3","gravatar_id":"","url":"https://api.github.com/users/gazaskygeeks","html_url":"https://github.com/gazaskygeeks","followers_url":"https://api.github.com/users/gazaskygeeks/followers","following_url":"https://api.github.com/users/gazaskygeeks/following{/other_user}","gists_url":"https://api.github.com/users/gazaskygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/gazaskygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazaskygeeks/subscriptions","organizations_url":"https://api.github.com/users/gazaskygeeks/orgs","repos_url":"https://api.github.com/users/gazaskygeeks/repos","events_url":"https://api.github.com/users/gazaskygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/gazaskygeeks/received_events","type":"Organization","site_admin":false},"repo":{"id":88590534,"name":"room-booker","full_name":"gazaskygeeks/room-booker","owner":{"login":"gazaskygeeks","id":25309521,"avatar_url":"https://avatars2.githubusercontent.com/u/25309521?v=3","gravatar_id":"","url":"https://api.github.com/users/gazaskygeeks","html_url":"https://github.com/gazaskygeeks","followers_url":"https://api.github.com/users/gazaskygeeks/followers","following_url":"https://api.github.com/users/gazaskygeeks/following{/other_user}","gists_url":"https://api.github.com/users/gazaskygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/gazaskygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazaskygeeks/subscriptions","organizations_url":"https://api.github.com/users/gazaskygeeks/orgs","repos_url":"https://api.github.com/users/gazaskygeeks/repos","events_url":"https://api.github.com/users/gazaskygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/gazaskygeeks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gazaskygeeks/room-booker","description":"GSG Project","fork":false,"url":"https://api.github.com/repos/gazaskygeeks/room-booker","forks_url":"https://api.github.com/repos/gazaskygeeks/room-booker/forks","keys_url":"https://api.github.com/repos/gazaskygeeks/room-booker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gazaskygeeks/room-booker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gazaskygeeks/room-booker/teams","hooks_url":"https://api.github.com/repos/gazaskygeeks/room-booker/hooks","issue_events_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/events{/number}","events_url":"https://api.github.com/repos/gazaskygeeks/room-booker/events","assignees_url":"https://api.github.com/repos/gazaskygeeks/room-booker/assignees{/user}","branches_url":"https://api.github.com/repos/gazaskygeeks/room-booker/branches{/branch}","tags_url":"https://api.github.com/repos/gazaskygeeks/room-booker/tags","blobs_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/refs{/sha}","trees_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gazaskygeeks/room-booker/statuses/{sha}","languages_url":"https://api.github.com/repos/gazaskygeeks/room-booker/languages","stargazers_url":"https://api.github.com/repos/gazaskygeeks/room-booker/stargazers","contributors_url":"https://api.github.com/repos/gazaskygeeks/room-booker/contributors","subscribers_url":"https://api.github.com/repos/gazaskygeeks/room-booker/subscribers","subscription_url":"https://api.github.com/repos/gazaskygeeks/room-booker/subscription","commits_url":"https://api.github.com/repos/gazaskygeeks/room-booker/commits{/sha}","git_commits_url":"https://api.github.com/repos/gazaskygeeks/room-booker/git/commits{/sha}","comments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/comments{/number}","issue_comment_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/comments{/number}","contents_url":"https://api.github.com/repos/gazaskygeeks/room-booker/contents/{+path}","compare_url":"https://api.github.com/repos/gazaskygeeks/room-booker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gazaskygeeks/room-booker/merges","archive_url":"https://api.github.com/repos/gazaskygeeks/room-booker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gazaskygeeks/room-booker/downloads","issues_url":"https://api.github.com/repos/gazaskygeeks/room-booker/issues{/number}","pulls_url":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls{/number}","milestones_url":"https://api.github.com/repos/gazaskygeeks/room-booker/milestones{/number}","notifications_url":"https://api.github.com/repos/gazaskygeeks/room-booker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gazaskygeeks/room-booker/labels{/name}","releases_url":"https://api.github.com/repos/gazaskygeeks/room-booker/releases{/id}","deployments_url":"https://api.github.com/repos/gazaskygeeks/room-booker/deployments","created_at":"2017-04-18T06:35:28Z","updated_at":"2017-04-19T06:46:10Z","pushed_at":"2017-04-25T08:41:11Z","git_url":"git://github.com/gazaskygeeks/room-booker.git","ssh_url":"git@github.com:gazaskygeeks/room-booker.git","clone_url":"https://github.com/gazaskygeeks/room-booker.git","svn_url":"https://github.com/gazaskygeeks/room-booker","homepage":null,"size":564,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8"},"html":{"href":"https://github.com/gazaskygeeks/room-booker/pull/8"},"issue":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/8"},"comments":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/gazaskygeeks/room-booker/statuses/58a959a3c357c1056e073066c3974f4cfd341883"}}}}
{"actor":{"display_login":"saralk"}}