{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17","id":72641503,"html_url":"https://github.com/matheus-alves/private-chat/pull/17","diff_url":"https://github.com/matheus-alves/private-chat/pull/17.diff","patch_url":"https://github.com/matheus-alves/private-chat/pull/17.patch","issue_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/17","number":17,"state":"closed","locked":false,"title":"Small fix for ux errors. NaN on unread count and callback alert on wrong","user":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"body":"page","created_at":"2016-06-05T21:46:38Z","updated_at":"2016-06-05T21:46:43Z","closed_at":"2016-06-05T21:46:43Z","merged_at":"2016-06-05T21:46:43Z","merge_commit_sha":"7366c10bf4df20722fa488979b831b34fabb41e6","assignee":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17/commits","review_comments_url":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17/comments","review_comment_url":"https://api.github.com/repos/matheus-alves/private-chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/17/comments","statuses_url":"https://api.github.com/repos/matheus-alves/private-chat/statuses/6d6bf3a4154baa754c560d2a676e46a20a72944c","head":{"label":"matheus-alves:fix/ux_errors","ref":"fix/ux_errors","sha":"6d6bf3a4154baa754c560d2a676e46a20a72944c","user":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"repo":{"id":58504343,"name":"private-chat","full_name":"matheus-alves/private-chat","owner":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matheus-alves/private-chat","description":"Node.js private chat mini project for programming challenge","fork":false,"url":"https://api.github.com/repos/matheus-alves/private-chat","forks_url":"https://api.github.com/repos/matheus-alves/private-chat/forks","keys_url":"https://api.github.com/repos/matheus-alves/private-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matheus-alves/private-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matheus-alves/private-chat/teams","hooks_url":"https://api.github.com/repos/matheus-alves/private-chat/hooks","issue_events_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/events{/number}","events_url":"https://api.github.com/repos/matheus-alves/private-chat/events","assignees_url":"https://api.github.com/repos/matheus-alves/private-chat/assignees{/user}","branches_url":"https://api.github.com/repos/matheus-alves/private-chat/branches{/branch}","tags_url":"https://api.github.com/repos/matheus-alves/private-chat/tags","blobs_url":"https://api.github.com/repos/matheus-alves/private-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matheus-alves/private-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matheus-alves/private-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/matheus-alves/private-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matheus-alves/private-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/matheus-alves/private-chat/languages","stargazers_url":"https://api.github.com/repos/matheus-alves/private-chat/stargazers","contributors_url":"https://api.github.com/repos/matheus-alves/private-chat/contributors","subscribers_url":"https://api.github.com/repos/matheus-alves/private-chat/subscribers","subscription_url":"https://api.github.com/repos/matheus-alves/private-chat/subscription","commits_url":"https://api.github.com/repos/matheus-alves/private-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/matheus-alves/private-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/matheus-alves/private-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/matheus-alves/private-chat/contents/{+path}","compare_url":"https://api.github.com/repos/matheus-alves/private-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matheus-alves/private-chat/merges","archive_url":"https://api.github.com/repos/matheus-alves/private-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matheus-alves/private-chat/downloads","issues_url":"https://api.github.com/repos/matheus-alves/private-chat/issues{/number}","pulls_url":"https://api.github.com/repos/matheus-alves/private-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/matheus-alves/private-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/matheus-alves/private-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matheus-alves/private-chat/labels{/name}","releases_url":"https://api.github.com/repos/matheus-alves/private-chat/releases{/id}","deployments_url":"https://api.github.com/repos/matheus-alves/private-chat/deployments","created_at":"2016-05-11T01:21:55Z","updated_at":"2016-05-14T03:37:37Z","pushed_at":"2016-06-05T21:46:43Z","git_url":"git://github.com/matheus-alves/private-chat.git","ssh_url":"git@github.com:matheus-alves/private-chat.git","clone_url":"https://github.com/matheus-alves/private-chat.git","svn_url":"https://github.com/matheus-alves/private-chat","homepage":null,"size":189,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"matheus-alves:develop","ref":"develop","sha":"288f790d1c85ddde715cc020c22d369c407a7ec0","user":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"repo":{"id":58504343,"name":"private-chat","full_name":"matheus-alves/private-chat","owner":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matheus-alves/private-chat","description":"Node.js private chat mini project for programming challenge","fork":false,"url":"https://api.github.com/repos/matheus-alves/private-chat","forks_url":"https://api.github.com/repos/matheus-alves/private-chat/forks","keys_url":"https://api.github.com/repos/matheus-alves/private-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matheus-alves/private-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matheus-alves/private-chat/teams","hooks_url":"https://api.github.com/repos/matheus-alves/private-chat/hooks","issue_events_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/events{/number}","events_url":"https://api.github.com/repos/matheus-alves/private-chat/events","assignees_url":"https://api.github.com/repos/matheus-alves/private-chat/assignees{/user}","branches_url":"https://api.github.com/repos/matheus-alves/private-chat/branches{/branch}","tags_url":"https://api.github.com/repos/matheus-alves/private-chat/tags","blobs_url":"https://api.github.com/repos/matheus-alves/private-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matheus-alves/private-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matheus-alves/private-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/matheus-alves/private-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matheus-alves/private-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/matheus-alves/private-chat/languages","stargazers_url":"https://api.github.com/repos/matheus-alves/private-chat/stargazers","contributors_url":"https://api.github.com/repos/matheus-alves/private-chat/contributors","subscribers_url":"https://api.github.com/repos/matheus-alves/private-chat/subscribers","subscription_url":"https://api.github.com/repos/matheus-alves/private-chat/subscription","commits_url":"https://api.github.com/repos/matheus-alves/private-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/matheus-alves/private-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/matheus-alves/private-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/matheus-alves/private-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/matheus-alves/private-chat/contents/{+path}","compare_url":"https://api.github.com/repos/matheus-alves/private-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matheus-alves/private-chat/merges","archive_url":"https://api.github.com/repos/matheus-alves/private-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matheus-alves/private-chat/downloads","issues_url":"https://api.github.com/repos/matheus-alves/private-chat/issues{/number}","pulls_url":"https://api.github.com/repos/matheus-alves/private-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/matheus-alves/private-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/matheus-alves/private-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matheus-alves/private-chat/labels{/name}","releases_url":"https://api.github.com/repos/matheus-alves/private-chat/releases{/id}","deployments_url":"https://api.github.com/repos/matheus-alves/private-chat/deployments","created_at":"2016-05-11T01:21:55Z","updated_at":"2016-05-14T03:37:37Z","pushed_at":"2016-06-05T21:46:43Z","git_url":"git://github.com/matheus-alves/private-chat.git","ssh_url":"git@github.com:matheus-alves/private-chat.git","clone_url":"https://github.com/matheus-alves/private-chat.git","svn_url":"https://github.com/matheus-alves/private-chat","homepage":null,"size":189,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17"},"html":{"href":"https://github.com/matheus-alves/private-chat/pull/17"},"issue":{"href":"https://api.github.com/repos/matheus-alves/private-chat/issues/17"},"comments":{"href":"https://api.github.com/repos/matheus-alves/private-chat/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/matheus-alves/private-chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matheus-alves/private-chat/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/matheus-alves/private-chat/statuses/6d6bf3a4154baa754c560d2a676e46a20a72944c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"matheus-alves","id":12687057,"avatar_url":"https://avatars.githubusercontent.com/u/12687057?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus-alves","html_url":"https://github.com/matheus-alves","followers_url":"https://api.github.com/users/matheus-alves/followers","following_url":"https://api.github.com/users/matheus-alves/following{/other_user}","gists_url":"https://api.github.com/users/matheus-alves/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus-alves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus-alves/subscriptions","organizations_url":"https://api.github.com/users/matheus-alves/orgs","repos_url":"https://api.github.com/users/matheus-alves/repos","events_url":"https://api.github.com/users/matheus-alves/events{/privacy}","received_events_url":"https://api.github.com/users/matheus-alves/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"matheus-alves"}}