{"action":"created","comment":{"url":"https://api.github.com/repos/ceeeni/adenosine/pulls/comments/60679421","id":60679421,"diff_hunk":"@@ -65,22 +72,173 @@ public ModelAndView redirectFromFitbit(\n         logger.debug(\"Successfully redirected from Fitbit \"+response);\n         FitbitTokens fitbitTokens = this.fitbitOuthService.getFitbitTokens(response);\n         logger.debug(\"FitbitTokens are received!\");\n+        \n         userProfileService.setFitbitTokens(fitbitTokens);\n-        UserProfile userProfile = userProfileService.getUserProfileDetails();\n+        UserProfile userProfile = userProfileService.getUserDetails();\n \n         fitbitDetailsService.setFitbitTokens(fitbitTokens);\n+        \n         SleepDetails sleepDetails = fitbitDetailsService.getSleepDetails();\n-        HeartRateDetails heartRateDetails = fitbitDetailsService\n-                .getHeartRateDetails();\n+        HeartRateDetails heartRateDetails = fitbitDetailsService.getHeartRateDetails();\n+        \n+        FoodDetails foodDetails = fitbitDetailsService.getFoodDetails();\n+        ActivityDetails activityDetails = fitbitDetailsService.getActivityDetails();\n+        WaterDetails waterDetails = fitbitDetailsService.getWaterDetails();\n+        ActivityGoalDetails activityGoalDetails = fitbitDetailsService.getActivityGoalDetails();","path":"smacrobs_web/src/main/java/com/web/controller/MainController.java","position":45,"original_position":45,"commit_id":"fb894e84a683d9c991bea82aefee88acddd128a6","original_commit_id":"fb894e84a683d9c991bea82aefee88acddd128a6","user":{"login":"udaysagar2177","id":3998302,"avatar_url":"https://avatars.githubusercontent.com/u/3998302?v=3","gravatar_id":"","url":"https://api.github.com/users/udaysagar2177","html_url":"https://github.com/udaysagar2177","followers_url":"https://api.github.com/users/udaysagar2177/followers","following_url":"https://api.github.com/users/udaysagar2177/following{/other_user}","gists_url":"https://api.github.com/users/udaysagar2177/gists{/gist_id}","starred_url":"https://api.github.com/users/udaysagar2177/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udaysagar2177/subscriptions","organizations_url":"https://api.github.com/users/udaysagar2177/orgs","repos_url":"https://api.github.com/users/udaysagar2177/repos","events_url":"https://api.github.com/users/udaysagar2177/events{/privacy}","received_events_url":"https://api.github.com/users/udaysagar2177/received_events","type":"User","site_admin":false},"body":"line cannot contain more than 80 chars","created_at":"2016-04-22T01:17:39Z","updated_at":"2016-04-22T01:17:39Z","html_url":"https://github.com/ceeeni/adenosine/pull/13#discussion_r60679421","pull_request_url":"https://api.github.com/repos/ceeeni/adenosine/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/comments/60679421"},"html":{"href":"https://github.com/ceeeni/adenosine/pull/13#discussion_r60679421"},"pull_request":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/ceeeni/adenosine/pulls/13","id":66943448,"html_url":"https://github.com/ceeeni/adenosine/pull/13","diff_url":"https://github.com/ceeeni/adenosine/pull/13.diff","patch_url":"https://github.com/ceeeni/adenosine/pull/13.patch","issue_url":"https://api.github.com/repos/ceeeni/adenosine/issues/13","number":13,"state":"open","locked":false,"title":"Logout, Favicon and Goals for Activity charts updated","user":{"login":"neha-viswanathan","id":12013126,"avatar_url":"https://avatars.githubusercontent.com/u/12013126?v=3","gravatar_id":"","url":"https://api.github.com/users/neha-viswanathan","html_url":"https://github.com/neha-viswanathan","followers_url":"https://api.github.com/users/neha-viswanathan/followers","following_url":"https://api.github.com/users/neha-viswanathan/following{/other_user}","gists_url":"https://api.github.com/users/neha-viswanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/neha-viswanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neha-viswanathan/subscriptions","organizations_url":"https://api.github.com/users/neha-viswanathan/orgs","repos_url":"https://api.github.com/users/neha-viswanathan/repos","events_url":"https://api.github.com/users/neha-viswanathan/events{/privacy}","received_events_url":"https://api.github.com/users/neha-viswanathan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-19T00:26:23Z","updated_at":"2016-04-22T01:17:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4744388f32e19f9c7dddd06f604565fb00b27f7a","assignee":{"login":"udaysagar2177","id":3998302,"avatar_url":"https://avatars.githubusercontent.com/u/3998302?v=3","gravatar_id":"","url":"https://api.github.com/users/udaysagar2177","html_url":"https://github.com/udaysagar2177","followers_url":"https://api.github.com/users/udaysagar2177/followers","following_url":"https://api.github.com/users/udaysagar2177/following{/other_user}","gists_url":"https://api.github.com/users/udaysagar2177/gists{/gist_id}","starred_url":"https://api.github.com/users/udaysagar2177/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udaysagar2177/subscriptions","organizations_url":"https://api.github.com/users/udaysagar2177/orgs","repos_url":"https://api.github.com/users/udaysagar2177/repos","events_url":"https://api.github.com/users/udaysagar2177/events{/privacy}","received_events_url":"https://api.github.com/users/udaysagar2177/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ceeeni/adenosine/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ceeeni/adenosine/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ceeeni/adenosine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceeeni/adenosine/issues/13/comments","statuses_url":"https://api.github.com/repos/ceeeni/adenosine/statuses/fb894e84a683d9c991bea82aefee88acddd128a6","head":{"label":"ceeeni:neha-dev","ref":"neha-dev","sha":"fb894e84a683d9c991bea82aefee88acddd128a6","user":{"login":"ceeeni","id":8888482,"avatar_url":"https://avatars.githubusercontent.com/u/8888482?v=3","gravatar_id":"","url":"https://api.github.com/users/ceeeni","html_url":"https://github.com/ceeeni","followers_url":"https://api.github.com/users/ceeeni/followers","following_url":"https://api.github.com/users/ceeeni/following{/other_user}","gists_url":"https://api.github.com/users/ceeeni/gists{/gist_id}","starred_url":"https://api.github.com/users/ceeeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceeeni/subscriptions","organizations_url":"https://api.github.com/users/ceeeni/orgs","repos_url":"https://api.github.com/users/ceeeni/repos","events_url":"https://api.github.com/users/ceeeni/events{/privacy}","received_events_url":"https://api.github.com/users/ceeeni/received_events","type":"User","site_admin":false},"repo":{"id":42794525,"name":"adenosine","full_name":"ceeeni/adenosine","owner":{"login":"ceeeni","id":8888482,"avatar_url":"https://avatars.githubusercontent.com/u/8888482?v=3","gravatar_id":"","url":"https://api.github.com/users/ceeeni","html_url":"https://github.com/ceeeni","followers_url":"https://api.github.com/users/ceeeni/followers","following_url":"https://api.github.com/users/ceeeni/following{/other_user}","gists_url":"https://api.github.com/users/ceeeni/gists{/gist_id}","starred_url":"https://api.github.com/users/ceeeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceeeni/subscriptions","organizations_url":"https://api.github.com/users/ceeeni/orgs","repos_url":"https://api.github.com/users/ceeeni/repos","events_url":"https://api.github.com/users/ceeeni/events{/privacy}","received_events_url":"https://api.github.com/users/ceeeni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceeeni/adenosine","description":"Private Repo for T.E.A.M Adenosine","fork":false,"url":"https://api.github.com/repos/ceeeni/adenosine","forks_url":"https://api.github.com/repos/ceeeni/adenosine/forks","keys_url":"https://api.github.com/repos/ceeeni/adenosine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceeeni/adenosine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceeeni/adenosine/teams","hooks_url":"https://api.github.com/repos/ceeeni/adenosine/hooks","issue_events_url":"https://api.github.com/repos/ceeeni/adenosine/issues/events{/number}","events_url":"https://api.github.com/repos/ceeeni/adenosine/events","assignees_url":"https://api.github.com/repos/ceeeni/adenosine/assignees{/user}","branches_url":"https://api.github.com/repos/ceeeni/adenosine/branches{/branch}","tags_url":"https://api.github.com/repos/ceeeni/adenosine/tags","blobs_url":"https://api.github.com/repos/ceeeni/adenosine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceeeni/adenosine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceeeni/adenosine/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceeeni/adenosine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceeeni/adenosine/statuses/{sha}","languages_url":"https://api.github.com/repos/ceeeni/adenosine/languages","stargazers_url":"https://api.github.com/repos/ceeeni/adenosine/stargazers","contributors_url":"https://api.github.com/repos/ceeeni/adenosine/contributors","subscribers_url":"https://api.github.com/repos/ceeeni/adenosine/subscribers","subscription_url":"https://api.github.com/repos/ceeeni/adenosine/subscription","commits_url":"https://api.github.com/repos/ceeeni/adenosine/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceeeni/adenosine/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceeeni/adenosine/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceeeni/adenosine/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceeeni/adenosine/contents/{+path}","compare_url":"https://api.github.com/repos/ceeeni/adenosine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceeeni/adenosine/merges","archive_url":"https://api.github.com/repos/ceeeni/adenosine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceeeni/adenosine/downloads","issues_url":"https://api.github.com/repos/ceeeni/adenosine/issues{/number}","pulls_url":"https://api.github.com/repos/ceeeni/adenosine/pulls{/number}","milestones_url":"https://api.github.com/repos/ceeeni/adenosine/milestones{/number}","notifications_url":"https://api.github.com/repos/ceeeni/adenosine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceeeni/adenosine/labels{/name}","releases_url":"https://api.github.com/repos/ceeeni/adenosine/releases{/id}","deployments_url":"https://api.github.com/repos/ceeeni/adenosine/deployments","created_at":"2015-09-20T00:24:07Z","updated_at":"2016-04-17T20:55:53Z","pushed_at":"2016-04-20T15:59:29Z","git_url":"git://github.com/ceeeni/adenosine.git","ssh_url":"git@github.com:ceeeni/adenosine.git","clone_url":"https://github.com/ceeeni/adenosine.git","svn_url":"https://github.com/ceeeni/adenosine","homepage":null,"size":24433,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"ceeeni:master","ref":"master","sha":"de7c7d8b383e8b69ce68be2bd2ac3646fe5a8fbf","user":{"login":"ceeeni","id":8888482,"avatar_url":"https://avatars.githubusercontent.com/u/8888482?v=3","gravatar_id":"","url":"https://api.github.com/users/ceeeni","html_url":"https://github.com/ceeeni","followers_url":"https://api.github.com/users/ceeeni/followers","following_url":"https://api.github.com/users/ceeeni/following{/other_user}","gists_url":"https://api.github.com/users/ceeeni/gists{/gist_id}","starred_url":"https://api.github.com/users/ceeeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceeeni/subscriptions","organizations_url":"https://api.github.com/users/ceeeni/orgs","repos_url":"https://api.github.com/users/ceeeni/repos","events_url":"https://api.github.com/users/ceeeni/events{/privacy}","received_events_url":"https://api.github.com/users/ceeeni/received_events","type":"User","site_admin":false},"repo":{"id":42794525,"name":"adenosine","full_name":"ceeeni/adenosine","owner":{"login":"ceeeni","id":8888482,"avatar_url":"https://avatars.githubusercontent.com/u/8888482?v=3","gravatar_id":"","url":"https://api.github.com/users/ceeeni","html_url":"https://github.com/ceeeni","followers_url":"https://api.github.com/users/ceeeni/followers","following_url":"https://api.github.com/users/ceeeni/following{/other_user}","gists_url":"https://api.github.com/users/ceeeni/gists{/gist_id}","starred_url":"https://api.github.com/users/ceeeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceeeni/subscriptions","organizations_url":"https://api.github.com/users/ceeeni/orgs","repos_url":"https://api.github.com/users/ceeeni/repos","events_url":"https://api.github.com/users/ceeeni/events{/privacy}","received_events_url":"https://api.github.com/users/ceeeni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceeeni/adenosine","description":"Private Repo for T.E.A.M Adenosine","fork":false,"url":"https://api.github.com/repos/ceeeni/adenosine","forks_url":"https://api.github.com/repos/ceeeni/adenosine/forks","keys_url":"https://api.github.com/repos/ceeeni/adenosine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceeeni/adenosine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceeeni/adenosine/teams","hooks_url":"https://api.github.com/repos/ceeeni/adenosine/hooks","issue_events_url":"https://api.github.com/repos/ceeeni/adenosine/issues/events{/number}","events_url":"https://api.github.com/repos/ceeeni/adenosine/events","assignees_url":"https://api.github.com/repos/ceeeni/adenosine/assignees{/user}","branches_url":"https://api.github.com/repos/ceeeni/adenosine/branches{/branch}","tags_url":"https://api.github.com/repos/ceeeni/adenosine/tags","blobs_url":"https://api.github.com/repos/ceeeni/adenosine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceeeni/adenosine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceeeni/adenosine/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceeeni/adenosine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceeeni/adenosine/statuses/{sha}","languages_url":"https://api.github.com/repos/ceeeni/adenosine/languages","stargazers_url":"https://api.github.com/repos/ceeeni/adenosine/stargazers","contributors_url":"https://api.github.com/repos/ceeeni/adenosine/contributors","subscribers_url":"https://api.github.com/repos/ceeeni/adenosine/subscribers","subscription_url":"https://api.github.com/repos/ceeeni/adenosine/subscription","commits_url":"https://api.github.com/repos/ceeeni/adenosine/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceeeni/adenosine/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceeeni/adenosine/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceeeni/adenosine/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceeeni/adenosine/contents/{+path}","compare_url":"https://api.github.com/repos/ceeeni/adenosine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceeeni/adenosine/merges","archive_url":"https://api.github.com/repos/ceeeni/adenosine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceeeni/adenosine/downloads","issues_url":"https://api.github.com/repos/ceeeni/adenosine/issues{/number}","pulls_url":"https://api.github.com/repos/ceeeni/adenosine/pulls{/number}","milestones_url":"https://api.github.com/repos/ceeeni/adenosine/milestones{/number}","notifications_url":"https://api.github.com/repos/ceeeni/adenosine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceeeni/adenosine/labels{/name}","releases_url":"https://api.github.com/repos/ceeeni/adenosine/releases{/id}","deployments_url":"https://api.github.com/repos/ceeeni/adenosine/deployments","created_at":"2015-09-20T00:24:07Z","updated_at":"2016-04-17T20:55:53Z","pushed_at":"2016-04-20T15:59:29Z","git_url":"git://github.com/ceeeni/adenosine.git","ssh_url":"git@github.com:ceeeni/adenosine.git","clone_url":"https://github.com/ceeeni/adenosine.git","svn_url":"https://github.com/ceeeni/adenosine","homepage":null,"size":24433,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/13"},"html":{"href":"https://github.com/ceeeni/adenosine/pull/13"},"issue":{"href":"https://api.github.com/repos/ceeeni/adenosine/issues/13"},"comments":{"href":"https://api.github.com/repos/ceeeni/adenosine/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceeeni/adenosine/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ceeeni/adenosine/statuses/fb894e84a683d9c991bea82aefee88acddd128a6"}}}}