{"action":"created","comment":{"url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/comments/243401358","pull_request_review_id":187163270,"id":243401358,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzQwMTM1OA==","diff_hunk":"@@ -7,8 +7,17 @@\n   Find a way to add 1% to all currency conversions (think about the DRY principle)\n */\n \n-function convertToUSD(price) {}\n-function convertToBRL(price) {}\n+function convertToUSD(price) {\n+  var conversionUSD = price * 1.4;\n+  return addComission(conversionUSD);\n+}\n+function convertToBRL(price) {\n+  var conversionBRL = price * 4.9;\n+  return addComission(conversionBRL);\n+}\n+function addComission(conversion) {","path":"week-1-practise/level-2/4-currency-conversion-2.js","position":14,"original_position":14,"commit_id":"0cbfacbc7ef043697bb018456c4bb26c86d03d19","original_commit_id":"0cbfacbc7ef043697bb018456c4bb26c86d03d19","user":{"login":"mtbdata711","id":44591353,"node_id":"MDQ6VXNlcjQ0NTkxMzUz","avatar_url":"https://avatars2.githubusercontent.com/u/44591353?v=4","gravatar_id":"","url":"https://api.github.com/users/mtbdata711","html_url":"https://github.com/mtbdata711","followers_url":"https://api.github.com/users/mtbdata711/followers","following_url":"https://api.github.com/users/mtbdata711/following{/other_user}","gists_url":"https://api.github.com/users/mtbdata711/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbdata711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbdata711/subscriptions","organizations_url":"https://api.github.com/users/mtbdata711/orgs","repos_url":"https://api.github.com/users/mtbdata711/repos","events_url":"https://api.github.com/users/mtbdata711/events{/privacy}","received_events_url":"https://api.github.com/users/mtbdata711/received_events","type":"User","site_admin":false},"body":"In awe at how clear and easy to understand your code is Madiha! Did you get the .toFixed to run fully?","created_at":"2018-12-20T20:04:19Z","updated_at":"2018-12-20T20:04:19Z","html_url":"https://github.com/CodeYourFuture/js-exercises/pull/167#discussion_r243401358","pull_request_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/comments/243401358"},"html":{"href":"https://github.com/CodeYourFuture/js-exercises/pull/167#discussion_r243401358"},"pull_request":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167","id":238976515,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTc2NTE1","html_url":"https://github.com/CodeYourFuture/js-exercises/pull/167","diff_url":"https://github.com/CodeYourFuture/js-exercises/pull/167.diff","patch_url":"https://github.com/CodeYourFuture/js-exercises/pull/167.patch","issue_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/167","number":167,"state":"open","locked":false,"title":"Madiha - JS Excercise A - H","user":{"login":"diya2214","id":45498508,"node_id":"MDQ6VXNlcjQ1NDk4NTA4","avatar_url":"https://avatars3.githubusercontent.com/u/45498508?v=4","gravatar_id":"","url":"https://api.github.com/users/diya2214","html_url":"https://github.com/diya2214","followers_url":"https://api.github.com/users/diya2214/followers","following_url":"https://api.github.com/users/diya2214/following{/other_user}","gists_url":"https://api.github.com/users/diya2214/gists{/gist_id}","starred_url":"https://api.github.com/users/diya2214/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diya2214/subscriptions","organizations_url":"https://api.github.com/users/diya2214/orgs","repos_url":"https://api.github.com/users/diya2214/repos","events_url":"https://api.github.com/users/diya2214/events{/privacy}","received_events_url":"https://api.github.com/users/diya2214/received_events","type":"User","site_admin":false},"body":"my work in class today ","created_at":"2018-12-16T16:37:44Z","updated_at":"2018-12-20T20:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a12faefebb4655b4706dc13e298e4984b46be321","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167/commits","review_comments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167/comments","review_comment_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/167/comments","statuses_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/statuses/0cbfacbc7ef043697bb018456c4bb26c86d03d19","head":{"label":"CodeYourFuture:Madiha-JS","ref":"Madiha-JS","sha":"0cbfacbc7ef043697bb018456c4bb26c86d03d19","user":{"login":"CodeYourFuture","id":22743767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzQzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"repo":{"id":121384131,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEzODQxMzE=","name":"js-exercises","full_name":"CodeYourFuture/js-exercises","private":false,"owner":{"login":"CodeYourFuture","id":22743767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzQzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CodeYourFuture/js-exercises","description":"JavaScript exercises for CodeYourFuture students","fork":false,"url":"https://api.github.com/repos/CodeYourFuture/js-exercises","forks_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/forks","keys_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/teams","hooks_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/hooks","issue_events_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/events{/number}","events_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/events","assignees_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/assignees{/user}","branches_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/branches{/branch}","tags_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/tags","blobs_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/languages","stargazers_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/stargazers","contributors_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/contributors","subscribers_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/subscribers","subscription_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/subscription","commits_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/contents/{+path}","compare_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/merges","archive_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/downloads","issues_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues{/number}","pulls_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/labels{/name}","releases_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/releases{/id}","deployments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/deployments","created_at":"2018-02-13T13:12:58Z","updated_at":"2018-11-16T21:20:52Z","pushed_at":"2018-12-20T18:35:44Z","git_url":"git://github.com/CodeYourFuture/js-exercises.git","ssh_url":"git@github.com:CodeYourFuture/js-exercises.git","clone_url":"https://github.com/CodeYourFuture/js-exercises.git","svn_url":"https://github.com/CodeYourFuture/js-exercises","homepage":"","size":872,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":52,"license":null,"forks":87,"open_issues":52,"watchers":6,"default_branch":"master"}},"base":{"label":"CodeYourFuture:master","ref":"master","sha":"e557a0badb79d4a4d1a0d59d22fef9f1ec8cb57d","user":{"login":"CodeYourFuture","id":22743767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzQzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"repo":{"id":121384131,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEzODQxMzE=","name":"js-exercises","full_name":"CodeYourFuture/js-exercises","private":false,"owner":{"login":"CodeYourFuture","id":22743767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzQzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CodeYourFuture/js-exercises","description":"JavaScript exercises for CodeYourFuture students","fork":false,"url":"https://api.github.com/repos/CodeYourFuture/js-exercises","forks_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/forks","keys_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/teams","hooks_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/hooks","issue_events_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/events{/number}","events_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/events","assignees_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/assignees{/user}","branches_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/branches{/branch}","tags_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/tags","blobs_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/languages","stargazers_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/stargazers","contributors_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/contributors","subscribers_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/subscribers","subscription_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/subscription","commits_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/contents/{+path}","compare_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/merges","archive_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/downloads","issues_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues{/number}","pulls_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/labels{/name}","releases_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/releases{/id}","deployments_url":"https://api.github.com/repos/CodeYourFuture/js-exercises/deployments","created_at":"2018-02-13T13:12:58Z","updated_at":"2018-11-16T21:20:52Z","pushed_at":"2018-12-20T18:35:44Z","git_url":"git://github.com/CodeYourFuture/js-exercises.git","ssh_url":"git@github.com:CodeYourFuture/js-exercises.git","clone_url":"https://github.com/CodeYourFuture/js-exercises.git","svn_url":"https://github.com/CodeYourFuture/js-exercises","homepage":"","size":872,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":52,"license":null,"forks":87,"open_issues":52,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167"},"html":{"href":"https://github.com/CodeYourFuture/js-exercises/pull/167"},"issue":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/167"},"comments":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/CodeYourFuture/js-exercises/statuses/0cbfacbc7ef043697bb018456c4bb26c86d03d19"}},"author_association":"NONE"}}
{"actor":{"display_login":"mtbdata711"}}