{"action":"created","comment":{"url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/comments/44481715","id":44481715,"diff_hunk":"@@ -37,14 +37,29 @@ Meteor.methods({\n       tweetActivity(activity);\n     }\n \n+    if (!this.isSimulation) {\n+      incrementPoints(1);\n+    }\n+\n     return id;\n   },\n \n+  incrementPoints: function(points_delta){\n+    console.log(\"Incrementing \" + Meteor.userId() + \" by \" + points_delta);","path":"lib/activities.js","position":12,"original_position":12,"commit_id":"231a329a64f4053de51d078bbb58266d1a6b824b","original_commit_id":"231a329a64f4053de51d078bbb58266d1a6b824b","user":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"body":"kill this","created_at":"2015-11-10T23:24:28Z","updated_at":"2015-11-10T23:24:28Z","html_url":"https://github.com/TheKevJames/cde2015/pull/32#discussion_r44481715","pull_request_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/comments/44481715"},"html":{"href":"https://github.com/TheKevJames/cde2015/pull/32#discussion_r44481715"},"pull_request":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32","id":50327073,"html_url":"https://github.com/TheKevJames/cde2015/pull/32","diff_url":"https://github.com/TheKevJames/cde2015/pull/32.diff","patch_url":"https://github.com/TheKevJames/cde2015/pull/32.patch","issue_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/32","number":32,"state":"open","locked":false,"title":"add point increment on like/add activity, decrement on unlike","user":{"login":"kyl191","id":499035,"avatar_url":"https://avatars.githubusercontent.com/u/499035?v=3","gravatar_id":"","url":"https://api.github.com/users/kyl191","html_url":"https://github.com/kyl191","followers_url":"https://api.github.com/users/kyl191/followers","following_url":"https://api.github.com/users/kyl191/following{/other_user}","gists_url":"https://api.github.com/users/kyl191/gists{/gist_id}","starred_url":"https://api.github.com/users/kyl191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyl191/subscriptions","organizations_url":"https://api.github.com/users/kyl191/orgs","repos_url":"https://api.github.com/users/kyl191/repos","events_url":"https://api.github.com/users/kyl191/events{/privacy}","received_events_url":"https://api.github.com/users/kyl191/received_events","type":"User","site_admin":false},"body":"Bad naming - but I'm just following mongo's style","created_at":"2015-11-10T23:24:00Z","updated_at":"2015-11-10T23:24:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75f1f98caf6c22910eb415d9e2cffd2e4a79b911","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32/commits","review_comments_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32/comments","review_comment_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/32/comments","statuses_url":"https://api.github.com/repos/TheKevJames/cde2015/statuses/231a329a64f4053de51d078bbb58266d1a6b824b","head":{"label":"TheKevJames:updatepoints","ref":"updatepoints","sha":"231a329a64f4053de51d078bbb58266d1a6b824b","user":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"repo":{"id":44881525,"name":"cde2015","full_name":"TheKevJames/cde2015","owner":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheKevJames/cde2015","description":"CDE 2015 Conference App","fork":false,"url":"https://api.github.com/repos/TheKevJames/cde2015","forks_url":"https://api.github.com/repos/TheKevJames/cde2015/forks","keys_url":"https://api.github.com/repos/TheKevJames/cde2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheKevJames/cde2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheKevJames/cde2015/teams","hooks_url":"https://api.github.com/repos/TheKevJames/cde2015/hooks","issue_events_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/events{/number}","events_url":"https://api.github.com/repos/TheKevJames/cde2015/events","assignees_url":"https://api.github.com/repos/TheKevJames/cde2015/assignees{/user}","branches_url":"https://api.github.com/repos/TheKevJames/cde2015/branches{/branch}","tags_url":"https://api.github.com/repos/TheKevJames/cde2015/tags","blobs_url":"https://api.github.com/repos/TheKevJames/cde2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheKevJames/cde2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheKevJames/cde2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheKevJames/cde2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheKevJames/cde2015/statuses/{sha}","languages_url":"https://api.github.com/repos/TheKevJames/cde2015/languages","stargazers_url":"https://api.github.com/repos/TheKevJames/cde2015/stargazers","contributors_url":"https://api.github.com/repos/TheKevJames/cde2015/contributors","subscribers_url":"https://api.github.com/repos/TheKevJames/cde2015/subscribers","subscription_url":"https://api.github.com/repos/TheKevJames/cde2015/subscription","commits_url":"https://api.github.com/repos/TheKevJames/cde2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheKevJames/cde2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheKevJames/cde2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheKevJames/cde2015/contents/{+path}","compare_url":"https://api.github.com/repos/TheKevJames/cde2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheKevJames/cde2015/merges","archive_url":"https://api.github.com/repos/TheKevJames/cde2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheKevJames/cde2015/downloads","issues_url":"https://api.github.com/repos/TheKevJames/cde2015/issues{/number}","pulls_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls{/number}","milestones_url":"https://api.github.com/repos/TheKevJames/cde2015/milestones{/number}","notifications_url":"https://api.github.com/repos/TheKevJames/cde2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheKevJames/cde2015/labels{/name}","releases_url":"https://api.github.com/repos/TheKevJames/cde2015/releases{/id}","created_at":"2015-10-24T19:34:54Z","updated_at":"2015-10-24T19:49:25Z","pushed_at":"2015-11-10T23:24:01Z","git_url":"git://github.com/TheKevJames/cde2015.git","ssh_url":"git@github.com:TheKevJames/cde2015.git","clone_url":"https://github.com/TheKevJames/cde2015.git","svn_url":"https://github.com/TheKevJames/cde2015","homepage":"","size":7008,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"TheKevJames:master","ref":"master","sha":"b2dc2b4a1f383011b4dc71dee320a30e4c85a881","user":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"repo":{"id":44881525,"name":"cde2015","full_name":"TheKevJames/cde2015","owner":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheKevJames/cde2015","description":"CDE 2015 Conference App","fork":false,"url":"https://api.github.com/repos/TheKevJames/cde2015","forks_url":"https://api.github.com/repos/TheKevJames/cde2015/forks","keys_url":"https://api.github.com/repos/TheKevJames/cde2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheKevJames/cde2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheKevJames/cde2015/teams","hooks_url":"https://api.github.com/repos/TheKevJames/cde2015/hooks","issue_events_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/events{/number}","events_url":"https://api.github.com/repos/TheKevJames/cde2015/events","assignees_url":"https://api.github.com/repos/TheKevJames/cde2015/assignees{/user}","branches_url":"https://api.github.com/repos/TheKevJames/cde2015/branches{/branch}","tags_url":"https://api.github.com/repos/TheKevJames/cde2015/tags","blobs_url":"https://api.github.com/repos/TheKevJames/cde2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheKevJames/cde2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheKevJames/cde2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheKevJames/cde2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheKevJames/cde2015/statuses/{sha}","languages_url":"https://api.github.com/repos/TheKevJames/cde2015/languages","stargazers_url":"https://api.github.com/repos/TheKevJames/cde2015/stargazers","contributors_url":"https://api.github.com/repos/TheKevJames/cde2015/contributors","subscribers_url":"https://api.github.com/repos/TheKevJames/cde2015/subscribers","subscription_url":"https://api.github.com/repos/TheKevJames/cde2015/subscription","commits_url":"https://api.github.com/repos/TheKevJames/cde2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheKevJames/cde2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheKevJames/cde2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheKevJames/cde2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheKevJames/cde2015/contents/{+path}","compare_url":"https://api.github.com/repos/TheKevJames/cde2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheKevJames/cde2015/merges","archive_url":"https://api.github.com/repos/TheKevJames/cde2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheKevJames/cde2015/downloads","issues_url":"https://api.github.com/repos/TheKevJames/cde2015/issues{/number}","pulls_url":"https://api.github.com/repos/TheKevJames/cde2015/pulls{/number}","milestones_url":"https://api.github.com/repos/TheKevJames/cde2015/milestones{/number}","notifications_url":"https://api.github.com/repos/TheKevJames/cde2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheKevJames/cde2015/labels{/name}","releases_url":"https://api.github.com/repos/TheKevJames/cde2015/releases{/id}","created_at":"2015-10-24T19:34:54Z","updated_at":"2015-10-24T19:49:25Z","pushed_at":"2015-11-10T23:24:01Z","git_url":"git://github.com/TheKevJames/cde2015.git","ssh_url":"git@github.com:TheKevJames/cde2015.git","clone_url":"https://github.com/TheKevJames/cde2015.git","svn_url":"https://github.com/TheKevJames/cde2015","homepage":"","size":7008,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32"},"html":{"href":"https://github.com/TheKevJames/cde2015/pull/32"},"issue":{"href":"https://api.github.com/repos/TheKevJames/cde2015/issues/32"},"comments":{"href":"https://api.github.com/repos/TheKevJames/cde2015/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheKevJames/cde2015/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/TheKevJames/cde2015/statuses/231a329a64f4053de51d078bbb58266d1a6b824b"}}}}