{"action":"created","comment":{"url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/comments/237512890","pull_request_review_id":179828076,"id":237512890,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzUxMjg5MA==","diff_hunk":"@@ -29,9 +29,12 @@ const QHACKS_CLIENT_ID = uuid.v4();\n const QHACKS_EVENT_ID = uuid.v4();\n const HACKER_ID = uuid.v4();\n \n-beforeAll(async () => {\n-  await sequelize.sync({ force: true });\n-});\n+const { getDefaultScopes } = require(\"../../oauth/scopes\");\n+const DEFAULT_SCOPES = JSON.stringify(getDefaultScopes(\"HACKER\"));\n+\n+const TOMORROW = new Date();\n+\n+TOMORROW.setDate(new Date().getDate() + 1);","path":"packages/server/__tests__/config/test-framework.js","position":null,"original_position":12,"commit_id":"01327d15c61d47e6af20f4dc88879e856c653698","original_commit_id":"2b998454bc67fd986f6ac81e3644437b47cbee60","user":{"login":"joeytepp","id":11237799,"node_id":"MDQ6VXNlcjExMjM3Nzk5","avatar_url":"https://avatars1.githubusercontent.com/u/11237799?v=4","gravatar_id":"","url":"https://api.github.com/users/joeytepp","html_url":"https://github.com/joeytepp","followers_url":"https://api.github.com/users/joeytepp/followers","following_url":"https://api.github.com/users/joeytepp/following{/other_user}","gists_url":"https://api.github.com/users/joeytepp/gists{/gist_id}","starred_url":"https://api.github.com/users/joeytepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeytepp/subscriptions","organizations_url":"https://api.github.com/users/joeytepp/orgs","repos_url":"https://api.github.com/users/joeytepp/repos","events_url":"https://api.github.com/users/joeytepp/events{/privacy}","received_events_url":"https://api.github.com/users/joeytepp/received_events","type":"User","site_admin":false},"body":"Tried that and it didn't work 😢 ","created_at":"2018-11-29T14:42:00Z","updated_at":"2018-11-29T14:42:00Z","html_url":"https://github.com/qhacks/qhacks-dashboard/pull/175#discussion_r237512890","pull_request_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/comments/237512890"},"html":{"href":"https://github.com/qhacks/qhacks-dashboard/pull/175#discussion_r237512890"},"pull_request":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175"}},"in_reply_to_id":237370696},"pull_request":{"url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175","id":234165044,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MTY1MDQ0","html_url":"https://github.com/qhacks/qhacks-dashboard/pull/175","diff_url":"https://github.com/qhacks/qhacks-dashboard/pull/175.diff","patch_url":"https://github.com/qhacks/qhacks-dashboard/pull/175.patch","issue_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/175","number":175,"state":"open","locked":false,"title":"Add application abilities to GraphQL API","user":{"login":"joeytepp","id":11237799,"node_id":"MDQ6VXNlcjExMjM3Nzk5","avatar_url":"https://avatars1.githubusercontent.com/u/11237799?v=4","gravatar_id":"","url":"https://api.github.com/users/joeytepp","html_url":"https://github.com/joeytepp","followers_url":"https://api.github.com/users/joeytepp/followers","following_url":"https://api.github.com/users/joeytepp/following{/other_user}","gists_url":"https://api.github.com/users/joeytepp/gists{/gist_id}","starred_url":"https://api.github.com/users/joeytepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeytepp/subscriptions","organizations_url":"https://api.github.com/users/joeytepp/orgs","repos_url":"https://api.github.com/users/joeytepp/repos","events_url":"https://api.github.com/users/joeytepp/events{/privacy}","received_events_url":"https://api.github.com/users/joeytepp/received_events","type":"User","site_admin":false},"body":"## Proposed Change\r\nAdd application functionality to the GraphQL API\r\n\r\n### How did you do this?\r\nAdded the necessary types, queries and mutations to allow clients to create applications to events\r\n\r\n### Why are you choosing this approach?\r\nTo let people apply!\r\n\r\n### Any open questions you want to ask code reviewers?\r\nNo\r\n\r\n### List of changes:\r\n\r\n  - Add resolvers for `Hacker`, `User`, and `Admin`\r\n  - Create new `Application` type\r\n  - Add new queries and mutations to allow the submission and viewing of applications\r\n\r\n## Pull Request Checklist:\r\n\r\n  - [x] My submission passes all tests.\r\n  - [x] I have lint my code locally prior to submission.\r\n  - [x] I have written new tests for my core changes (where applicable).\r\n  - [x] I have referenced all useful information (issues, tasks, etc) in the pull request.\r\n\r\n","created_at":"2018-11-28T06:44:26Z","updated_at":"2018-11-29T14:42:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"150fdb3dfdb28220e6846cf369c107bcf5448077","assignee":{"login":"joeytepp","id":11237799,"node_id":"MDQ6VXNlcjExMjM3Nzk5","avatar_url":"https://avatars1.githubusercontent.com/u/11237799?v=4","gravatar_id":"","url":"https://api.github.com/users/joeytepp","html_url":"https://github.com/joeytepp","followers_url":"https://api.github.com/users/joeytepp/followers","following_url":"https://api.github.com/users/joeytepp/following{/other_user}","gists_url":"https://api.github.com/users/joeytepp/gists{/gist_id}","starred_url":"https://api.github.com/users/joeytepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeytepp/subscriptions","organizations_url":"https://api.github.com/users/joeytepp/orgs","repos_url":"https://api.github.com/users/joeytepp/repos","events_url":"https://api.github.com/users/joeytepp/events{/privacy}","received_events_url":"https://api.github.com/users/joeytepp/received_events","type":"User","site_admin":false},"assignees":[{"login":"joeytepp","id":11237799,"node_id":"MDQ6VXNlcjExMjM3Nzk5","avatar_url":"https://avatars1.githubusercontent.com/u/11237799?v=4","gravatar_id":"","url":"https://api.github.com/users/joeytepp","html_url":"https://github.com/joeytepp","followers_url":"https://api.github.com/users/joeytepp/followers","following_url":"https://api.github.com/users/joeytepp/following{/other_user}","gists_url":"https://api.github.com/users/joeytepp/gists{/gist_id}","starred_url":"https://api.github.com/users/joeytepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeytepp/subscriptions","organizations_url":"https://api.github.com/users/joeytepp/orgs","repos_url":"https://api.github.com/users/joeytepp/repos","events_url":"https://api.github.com/users/joeytepp/events{/privacy}","received_events_url":"https://api.github.com/users/joeytepp/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175/commits","review_comments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175/comments","review_comment_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/175/comments","statuses_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/statuses/01327d15c61d47e6af20f4dc88879e856c653698","head":{"label":"qhacks:rework/add-applications-gql","ref":"rework/add-applications-gql","sha":"01327d15c61d47e6af20f4dc88879e856c653698","user":{"login":"qhacks","id":17298342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3Mjk4MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/17298342?v=4","gravatar_id":"","url":"https://api.github.com/users/qhacks","html_url":"https://github.com/qhacks","followers_url":"https://api.github.com/users/qhacks/followers","following_url":"https://api.github.com/users/qhacks/following{/other_user}","gists_url":"https://api.github.com/users/qhacks/gists{/gist_id}","starred_url":"https://api.github.com/users/qhacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhacks/subscriptions","organizations_url":"https://api.github.com/users/qhacks/orgs","repos_url":"https://api.github.com/users/qhacks/repos","events_url":"https://api.github.com/users/qhacks/events{/privacy}","received_events_url":"https://api.github.com/users/qhacks/received_events","type":"Organization","site_admin":false},"repo":{"id":105965506,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU5NjU1MDY=","name":"qhacks-dashboard","full_name":"qhacks/qhacks-dashboard","private":false,"owner":{"login":"qhacks","id":17298342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3Mjk4MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/17298342?v=4","gravatar_id":"","url":"https://api.github.com/users/qhacks","html_url":"https://github.com/qhacks","followers_url":"https://api.github.com/users/qhacks/followers","following_url":"https://api.github.com/users/qhacks/following{/other_user}","gists_url":"https://api.github.com/users/qhacks/gists{/gist_id}","starred_url":"https://api.github.com/users/qhacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhacks/subscriptions","organizations_url":"https://api.github.com/users/qhacks/orgs","repos_url":"https://api.github.com/users/qhacks/repos","events_url":"https://api.github.com/users/qhacks/events{/privacy}","received_events_url":"https://api.github.com/users/qhacks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/qhacks/qhacks-dashboard","description":"Dashboard for partners and hackers participating in QHacks! :sunglasses: :computer:","fork":false,"url":"https://api.github.com/repos/qhacks/qhacks-dashboard","forks_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/forks","keys_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/teams","hooks_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/hooks","issue_events_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/events","assignees_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/tags","blobs_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/languages","stargazers_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/stargazers","contributors_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/contributors","subscribers_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/subscribers","subscription_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/subscription","commits_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/merges","archive_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/downloads","issues_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/deployments","created_at":"2017-10-06T03:56:24Z","updated_at":"2018-11-19T18:06:14Z","pushed_at":"2018-11-29T14:40:32Z","git_url":"git://github.com/qhacks/qhacks-dashboard.git","ssh_url":"git@github.com:qhacks/qhacks-dashboard.git","clone_url":"https://github.com/qhacks/qhacks-dashboard.git","svn_url":"https://github.com/qhacks/qhacks-dashboard","homepage":"https://app.qhacks.io/","size":4780,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":17,"watchers":9,"default_branch":"dev"}},"base":{"label":"qhacks:new-spec-rework","ref":"new-spec-rework","sha":"6da6b645b0682b1c34103df64a4271a94988c862","user":{"login":"qhacks","id":17298342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3Mjk4MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/17298342?v=4","gravatar_id":"","url":"https://api.github.com/users/qhacks","html_url":"https://github.com/qhacks","followers_url":"https://api.github.com/users/qhacks/followers","following_url":"https://api.github.com/users/qhacks/following{/other_user}","gists_url":"https://api.github.com/users/qhacks/gists{/gist_id}","starred_url":"https://api.github.com/users/qhacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhacks/subscriptions","organizations_url":"https://api.github.com/users/qhacks/orgs","repos_url":"https://api.github.com/users/qhacks/repos","events_url":"https://api.github.com/users/qhacks/events{/privacy}","received_events_url":"https://api.github.com/users/qhacks/received_events","type":"Organization","site_admin":false},"repo":{"id":105965506,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU5NjU1MDY=","name":"qhacks-dashboard","full_name":"qhacks/qhacks-dashboard","private":false,"owner":{"login":"qhacks","id":17298342,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3Mjk4MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/17298342?v=4","gravatar_id":"","url":"https://api.github.com/users/qhacks","html_url":"https://github.com/qhacks","followers_url":"https://api.github.com/users/qhacks/followers","following_url":"https://api.github.com/users/qhacks/following{/other_user}","gists_url":"https://api.github.com/users/qhacks/gists{/gist_id}","starred_url":"https://api.github.com/users/qhacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhacks/subscriptions","organizations_url":"https://api.github.com/users/qhacks/orgs","repos_url":"https://api.github.com/users/qhacks/repos","events_url":"https://api.github.com/users/qhacks/events{/privacy}","received_events_url":"https://api.github.com/users/qhacks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/qhacks/qhacks-dashboard","description":"Dashboard for partners and hackers participating in QHacks! :sunglasses: :computer:","fork":false,"url":"https://api.github.com/repos/qhacks/qhacks-dashboard","forks_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/forks","keys_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/teams","hooks_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/hooks","issue_events_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/events","assignees_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/tags","blobs_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/languages","stargazers_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/stargazers","contributors_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/contributors","subscribers_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/subscribers","subscription_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/subscription","commits_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/merges","archive_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/downloads","issues_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/qhacks/qhacks-dashboard/deployments","created_at":"2017-10-06T03:56:24Z","updated_at":"2018-11-19T18:06:14Z","pushed_at":"2018-11-29T14:40:32Z","git_url":"git://github.com/qhacks/qhacks-dashboard.git","ssh_url":"git@github.com:qhacks/qhacks-dashboard.git","clone_url":"https://github.com/qhacks/qhacks-dashboard.git","svn_url":"https://github.com/qhacks/qhacks-dashboard","homepage":"https://app.qhacks.io/","size":4780,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":17,"watchers":9,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175"},"html":{"href":"https://github.com/qhacks/qhacks-dashboard/pull/175"},"issue":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/175"},"comments":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/qhacks/qhacks-dashboard/statuses/01327d15c61d47e6af20f4dc88879e856c653698"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"joeytepp"}}