{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13","id":53943242,"html_url":"https://github.com/cristiandouce/mongoose-voting/pull/13","diff_url":"https://github.com/cristiandouce/mongoose-voting/pull/13.diff","patch_url":"https://github.com/cristiandouce/mongoose-voting/pull/13.patch","issue_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/13","number":13,"state":"open","locked":false,"title":"fix .voted(user) throws error: \"Cannot read property 'positive' of undefined","user":{"login":"timelf123","id":2816999,"avatar_url":"https://avatars.githubusercontent.com/u/2816999?v=3","gravatar_id":"","url":"https://api.github.com/users/timelf123","html_url":"https://github.com/timelf123","followers_url":"https://api.github.com/users/timelf123/followers","following_url":"https://api.github.com/users/timelf123/following{/other_user}","gists_url":"https://api.github.com/users/timelf123/gists{/gist_id}","starred_url":"https://api.github.com/users/timelf123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelf123/subscriptions","organizations_url":"https://api.github.com/users/timelf123/orgs","repos_url":"https://api.github.com/users/timelf123/repos","events_url":"https://api.github.com/users/timelf123/events{/privacy}","received_events_url":"https://api.github.com/users/timelf123/received_events","type":"User","site_admin":false},"body":"https://github.com/cristiandouce/mongoose-voting/issues/11","created_at":"2015-12-17T07:33:50Z","updated_at":"2015-12-17T07:33:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13/commits","review_comments_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13/comments","review_comment_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/13/comments","statuses_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/statuses/fe6947bd15dd4ec57bce6f66203ba807af543276","head":{"label":"timelf123:fixvoted","ref":"fixvoted","sha":"fe6947bd15dd4ec57bce6f66203ba807af543276","user":{"login":"timelf123","id":2816999,"avatar_url":"https://avatars.githubusercontent.com/u/2816999?v=3","gravatar_id":"","url":"https://api.github.com/users/timelf123","html_url":"https://github.com/timelf123","followers_url":"https://api.github.com/users/timelf123/followers","following_url":"https://api.github.com/users/timelf123/following{/other_user}","gists_url":"https://api.github.com/users/timelf123/gists{/gist_id}","starred_url":"https://api.github.com/users/timelf123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelf123/subscriptions","organizations_url":"https://api.github.com/users/timelf123/orgs","repos_url":"https://api.github.com/users/timelf123/repos","events_url":"https://api.github.com/users/timelf123/events{/privacy}","received_events_url":"https://api.github.com/users/timelf123/received_events","type":"User","site_admin":false},"repo":{"id":48158546,"name":"mongoose-voting","full_name":"timelf123/mongoose-voting","owner":{"login":"timelf123","id":2816999,"avatar_url":"https://avatars.githubusercontent.com/u/2816999?v=3","gravatar_id":"","url":"https://api.github.com/users/timelf123","html_url":"https://github.com/timelf123","followers_url":"https://api.github.com/users/timelf123/followers","following_url":"https://api.github.com/users/timelf123/following{/other_user}","gists_url":"https://api.github.com/users/timelf123/gists{/gist_id}","starred_url":"https://api.github.com/users/timelf123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelf123/subscriptions","organizations_url":"https://api.github.com/users/timelf123/orgs","repos_url":"https://api.github.com/users/timelf123/repos","events_url":"https://api.github.com/users/timelf123/events{/privacy}","received_events_url":"https://api.github.com/users/timelf123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timelf123/mongoose-voting","description":"Mongoose plugin for upvote/downvote models. Extends Mongoose model with voting functionality.","fork":true,"url":"https://api.github.com/repos/timelf123/mongoose-voting","forks_url":"https://api.github.com/repos/timelf123/mongoose-voting/forks","keys_url":"https://api.github.com/repos/timelf123/mongoose-voting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timelf123/mongoose-voting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timelf123/mongoose-voting/teams","hooks_url":"https://api.github.com/repos/timelf123/mongoose-voting/hooks","issue_events_url":"https://api.github.com/repos/timelf123/mongoose-voting/issues/events{/number}","events_url":"https://api.github.com/repos/timelf123/mongoose-voting/events","assignees_url":"https://api.github.com/repos/timelf123/mongoose-voting/assignees{/user}","branches_url":"https://api.github.com/repos/timelf123/mongoose-voting/branches{/branch}","tags_url":"https://api.github.com/repos/timelf123/mongoose-voting/tags","blobs_url":"https://api.github.com/repos/timelf123/mongoose-voting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timelf123/mongoose-voting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timelf123/mongoose-voting/git/refs{/sha}","trees_url":"https://api.github.com/repos/timelf123/mongoose-voting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timelf123/mongoose-voting/statuses/{sha}","languages_url":"https://api.github.com/repos/timelf123/mongoose-voting/languages","stargazers_url":"https://api.github.com/repos/timelf123/mongoose-voting/stargazers","contributors_url":"https://api.github.com/repos/timelf123/mongoose-voting/contributors","subscribers_url":"https://api.github.com/repos/timelf123/mongoose-voting/subscribers","subscription_url":"https://api.github.com/repos/timelf123/mongoose-voting/subscription","commits_url":"https://api.github.com/repos/timelf123/mongoose-voting/commits{/sha}","git_commits_url":"https://api.github.com/repos/timelf123/mongoose-voting/git/commits{/sha}","comments_url":"https://api.github.com/repos/timelf123/mongoose-voting/comments{/number}","issue_comment_url":"https://api.github.com/repos/timelf123/mongoose-voting/issues/comments{/number}","contents_url":"https://api.github.com/repos/timelf123/mongoose-voting/contents/{+path}","compare_url":"https://api.github.com/repos/timelf123/mongoose-voting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timelf123/mongoose-voting/merges","archive_url":"https://api.github.com/repos/timelf123/mongoose-voting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timelf123/mongoose-voting/downloads","issues_url":"https://api.github.com/repos/timelf123/mongoose-voting/issues{/number}","pulls_url":"https://api.github.com/repos/timelf123/mongoose-voting/pulls{/number}","milestones_url":"https://api.github.com/repos/timelf123/mongoose-voting/milestones{/number}","notifications_url":"https://api.github.com/repos/timelf123/mongoose-voting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timelf123/mongoose-voting/labels{/name}","releases_url":"https://api.github.com/repos/timelf123/mongoose-voting/releases{/id}","created_at":"2015-12-17T07:11:04Z","updated_at":"2015-12-17T07:11:05Z","pushed_at":"2015-12-17T07:15:13Z","git_url":"git://github.com/timelf123/mongoose-voting.git","ssh_url":"git@github.com:timelf123/mongoose-voting.git","clone_url":"https://github.com/timelf123/mongoose-voting.git","svn_url":"https://github.com/timelf123/mongoose-voting","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"master"}},"base":{"label":"cristiandouce:master","ref":"master","sha":"4c74ab8419499128e5ce5965d2391b1db0358c79","user":{"login":"cristiandouce","id":367429,"avatar_url":"https://avatars.githubusercontent.com/u/367429?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiandouce","html_url":"https://github.com/cristiandouce","followers_url":"https://api.github.com/users/cristiandouce/followers","following_url":"https://api.github.com/users/cristiandouce/following{/other_user}","gists_url":"https://api.github.com/users/cristiandouce/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiandouce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiandouce/subscriptions","organizations_url":"https://api.github.com/users/cristiandouce/orgs","repos_url":"https://api.github.com/users/cristiandouce/repos","events_url":"https://api.github.com/users/cristiandouce/events{/privacy}","received_events_url":"https://api.github.com/users/cristiandouce/received_events","type":"User","site_admin":false},"repo":{"id":10669000,"name":"mongoose-voting","full_name":"cristiandouce/mongoose-voting","owner":{"login":"cristiandouce","id":367429,"avatar_url":"https://avatars.githubusercontent.com/u/367429?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiandouce","html_url":"https://github.com/cristiandouce","followers_url":"https://api.github.com/users/cristiandouce/followers","following_url":"https://api.github.com/users/cristiandouce/following{/other_user}","gists_url":"https://api.github.com/users/cristiandouce/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiandouce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiandouce/subscriptions","organizations_url":"https://api.github.com/users/cristiandouce/orgs","repos_url":"https://api.github.com/users/cristiandouce/repos","events_url":"https://api.github.com/users/cristiandouce/events{/privacy}","received_events_url":"https://api.github.com/users/cristiandouce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cristiandouce/mongoose-voting","description":"Mongoose plugin for upvote/downvote models. Extends Mongoose model with voting functionality.","fork":false,"url":"https://api.github.com/repos/cristiandouce/mongoose-voting","forks_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/forks","keys_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/teams","hooks_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/hooks","issue_events_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/events{/number}","events_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/events","assignees_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/assignees{/user}","branches_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/branches{/branch}","tags_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/tags","blobs_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/git/refs{/sha}","trees_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/statuses/{sha}","languages_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/languages","stargazers_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/stargazers","contributors_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/contributors","subscribers_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/subscribers","subscription_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/subscription","commits_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/commits{/sha}","git_commits_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/git/commits{/sha}","comments_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/comments{/number}","issue_comment_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/comments{/number}","contents_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/contents/{+path}","compare_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/merges","archive_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/downloads","issues_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues{/number}","pulls_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls{/number}","milestones_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/milestones{/number}","notifications_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/labels{/name}","releases_url":"https://api.github.com/repos/cristiandouce/mongoose-voting/releases{/id}","created_at":"2013-06-13T15:18:05Z","updated_at":"2015-12-16T21:09:06Z","pushed_at":"2015-04-30T14:41:09Z","git_url":"git://github.com/cristiandouce/mongoose-voting.git","ssh_url":"git@github.com:cristiandouce/mongoose-voting.git","clone_url":"https://github.com/cristiandouce/mongoose-voting.git","svn_url":"https://github.com/cristiandouce/mongoose-voting","homepage":null,"size":203,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13"},"html":{"href":"https://github.com/cristiandouce/mongoose-voting/pull/13"},"issue":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/13"},"comments":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/cristiandouce/mongoose-voting/statuses/fe6947bd15dd4ec57bce6f66203ba807af543276"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}