{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2","id":49076276,"html_url":"https://github.com/jeffreyjurgajtis/simple-note-api/pull/2","diff_url":"https://github.com/jeffreyjurgajtis/simple-note-api/pull/2.diff","patch_url":"https://github.com/jeffreyjurgajtis/simple-note-api/pull/2.patch","issue_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/2","number":2,"state":"open","locked":false,"title":"Prevent nil User error with invalid email is sent to /auth endpoint","user":{"login":"jeffreyjurgajtis","id":1053594,"avatar_url":"https://avatars.githubusercontent.com/u/1053594?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyjurgajtis","html_url":"https://github.com/jeffreyjurgajtis","followers_url":"https://api.github.com/users/jeffreyjurgajtis/followers","following_url":"https://api.github.com/users/jeffreyjurgajtis/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyjurgajtis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyjurgajtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyjurgajtis/subscriptions","organizations_url":"https://api.github.com/users/jeffreyjurgajtis/orgs","repos_url":"https://api.github.com/users/jeffreyjurgajtis/repos","events_url":"https://api.github.com/users/jeffreyjurgajtis/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyjurgajtis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-28T22:30:18Z","updated_at":"2015-10-28T22:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/2/comments","statuses_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/statuses/930f5eada439aff554d4d5a3eee173b2f22de18d","head":{"label":"jeffreyjurgajtis:auth","ref":"auth","sha":"930f5eada439aff554d4d5a3eee173b2f22de18d","user":{"login":"jeffreyjurgajtis","id":1053594,"avatar_url":"https://avatars.githubusercontent.com/u/1053594?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyjurgajtis","html_url":"https://github.com/jeffreyjurgajtis","followers_url":"https://api.github.com/users/jeffreyjurgajtis/followers","following_url":"https://api.github.com/users/jeffreyjurgajtis/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyjurgajtis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyjurgajtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyjurgajtis/subscriptions","organizations_url":"https://api.github.com/users/jeffreyjurgajtis/orgs","repos_url":"https://api.github.com/users/jeffreyjurgajtis/repos","events_url":"https://api.github.com/users/jeffreyjurgajtis/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyjurgajtis/received_events","type":"User","site_admin":false},"repo":{"id":44826129,"name":"simple-note-api","full_name":"jeffreyjurgajtis/simple-note-api","owner":{"login":"jeffreyjurgajtis","id":1053594,"avatar_url":"https://avatars.githubusercontent.com/u/1053594?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyjurgajtis","html_url":"https://github.com/jeffreyjurgajtis","followers_url":"https://api.github.com/users/jeffreyjurgajtis/followers","following_url":"https://api.github.com/users/jeffreyjurgajtis/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyjurgajtis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyjurgajtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyjurgajtis/subscriptions","organizations_url":"https://api.github.com/users/jeffreyjurgajtis/orgs","repos_url":"https://api.github.com/users/jeffreyjurgajtis/repos","events_url":"https://api.github.com/users/jeffreyjurgajtis/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyjurgajtis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffreyjurgajtis/simple-note-api","description":"A test run at building a JSON API with elixir/phoenix","fork":false,"url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api","forks_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/forks","keys_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/teams","hooks_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/hooks","issue_events_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/events{/number}","events_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/events","assignees_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/assignees{/user}","branches_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/branches{/branch}","tags_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/tags","blobs_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/languages","stargazers_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/stargazers","contributors_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/contributors","subscribers_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/subscribers","subscription_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/subscription","commits_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/contents/{+path}","compare_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/merges","archive_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/downloads","issues_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues{/number}","pulls_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/labels{/name}","releases_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/releases{/id}","created_at":"2015-10-23T16:53:20Z","updated_at":"2015-10-23T16:57:15Z","pushed_at":"2015-10-28T22:28:38Z","git_url":"git://github.com/jeffreyjurgajtis/simple-note-api.git","ssh_url":"git@github.com:jeffreyjurgajtis/simple-note-api.git","clone_url":"https://github.com/jeffreyjurgajtis/simple-note-api.git","svn_url":"https://github.com/jeffreyjurgajtis/simple-note-api","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jeffreyjurgajtis:master","ref":"master","sha":"7d32148522c4d3f2143228a108c230d0bbfeffa9","user":{"login":"jeffreyjurgajtis","id":1053594,"avatar_url":"https://avatars.githubusercontent.com/u/1053594?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyjurgajtis","html_url":"https://github.com/jeffreyjurgajtis","followers_url":"https://api.github.com/users/jeffreyjurgajtis/followers","following_url":"https://api.github.com/users/jeffreyjurgajtis/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyjurgajtis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyjurgajtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyjurgajtis/subscriptions","organizations_url":"https://api.github.com/users/jeffreyjurgajtis/orgs","repos_url":"https://api.github.com/users/jeffreyjurgajtis/repos","events_url":"https://api.github.com/users/jeffreyjurgajtis/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyjurgajtis/received_events","type":"User","site_admin":false},"repo":{"id":44826129,"name":"simple-note-api","full_name":"jeffreyjurgajtis/simple-note-api","owner":{"login":"jeffreyjurgajtis","id":1053594,"avatar_url":"https://avatars.githubusercontent.com/u/1053594?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyjurgajtis","html_url":"https://github.com/jeffreyjurgajtis","followers_url":"https://api.github.com/users/jeffreyjurgajtis/followers","following_url":"https://api.github.com/users/jeffreyjurgajtis/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyjurgajtis/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyjurgajtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyjurgajtis/subscriptions","organizations_url":"https://api.github.com/users/jeffreyjurgajtis/orgs","repos_url":"https://api.github.com/users/jeffreyjurgajtis/repos","events_url":"https://api.github.com/users/jeffreyjurgajtis/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyjurgajtis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffreyjurgajtis/simple-note-api","description":"A test run at building a JSON API with elixir/phoenix","fork":false,"url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api","forks_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/forks","keys_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/teams","hooks_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/hooks","issue_events_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/events{/number}","events_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/events","assignees_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/assignees{/user}","branches_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/branches{/branch}","tags_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/tags","blobs_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/languages","stargazers_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/stargazers","contributors_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/contributors","subscribers_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/subscribers","subscription_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/subscription","commits_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/contents/{+path}","compare_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/merges","archive_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/downloads","issues_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues{/number}","pulls_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/labels{/name}","releases_url":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/releases{/id}","created_at":"2015-10-23T16:53:20Z","updated_at":"2015-10-23T16:57:15Z","pushed_at":"2015-10-28T22:28:38Z","git_url":"git://github.com/jeffreyjurgajtis/simple-note-api.git","ssh_url":"git@github.com:jeffreyjurgajtis/simple-note-api.git","clone_url":"https://github.com/jeffreyjurgajtis/simple-note-api.git","svn_url":"https://github.com/jeffreyjurgajtis/simple-note-api","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2"},"html":{"href":"https://github.com/jeffreyjurgajtis/simple-note-api/pull/2"},"issue":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/2"},"comments":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jeffreyjurgajtis/simple-note-api/statuses/930f5eada439aff554d4d5a3eee173b2f22de18d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":1,"changed_files":3}}