{"action":"created","comment":{"url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/comments/83783061","pull_request_review_id":4602707,"id":83783061,"diff_hunk":"@@ -110,6 +110,10 @@ PaymentMethod.fetchAll = function (inCurrency, outCurrency, api) {\n   var params = {};\n   if (inCurrency) { params.inCurrency = inCurrency; }\n   if (outCurrency) { params.outCurrency = outCurrency; }\n+  if (inCurrency === 'BTC') {\n+    params.inCurrency = outCurrency;","path":"src/coinify/payment-method.js","position":5,"original_position":5,"commit_id":"abcb18e1bc0257b2959da90e9c76b364f5df7d10","original_commit_id":"abcb18e1bc0257b2959da90e9c76b364f5df7d10","user":{"login":"Sjors","id":10217,"avatar_url":"https://avatars.githubusercontent.com/u/10217?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjors","html_url":"https://github.com/Sjors","followers_url":"https://api.github.com/users/Sjors/followers","following_url":"https://api.github.com/users/Sjors/following{/other_user}","gists_url":"https://api.github.com/users/Sjors/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjors/subscriptions","organizations_url":"https://api.github.com/users/Sjors/orgs","repos_url":"https://api.github.com/users/Sjors/repos","events_url":"https://api.github.com/users/Sjors/events{/privacy}","received_events_url":"https://api.github.com/users/Sjors/received_events","type":"User","site_admin":false},"body":"E.g. should we rename them `fetchAll(baseCurrency, quoteCurrency` ? That's probably less confusing.","created_at":"2016-10-18T05:18:00Z","updated_at":"2016-10-18T05:18:00Z","html_url":"https://github.com/blockchain/My-Wallet-V3/pull/297#discussion_r83783061","pull_request_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/comments/83783061"},"html":{"href":"https://github.com/blockchain/My-Wallet-V3/pull/297#discussion_r83783061"},"pull_request":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297","id":89707736,"html_url":"https://github.com/blockchain/My-Wallet-V3/pull/297","diff_url":"https://github.com/blockchain/My-Wallet-V3/pull/297.diff","patch_url":"https://github.com/blockchain/My-Wallet-V3/pull/297.patch","issue_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/297","number":297,"state":"open","locked":false,"title":"Payment methods when baseCurrency is BTC","user":{"login":"plondon","id":5640772,"avatar_url":"https://avatars.githubusercontent.com/u/5640772?v=3","gravatar_id":"","url":"https://api.github.com/users/plondon","html_url":"https://github.com/plondon","followers_url":"https://api.github.com/users/plondon/followers","following_url":"https://api.github.com/users/plondon/following{/other_user}","gists_url":"https://api.github.com/users/plondon/gists{/gist_id}","starred_url":"https://api.github.com/users/plondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plondon/subscriptions","organizations_url":"https://api.github.com/users/plondon/orgs","repos_url":"https://api.github.com/users/plondon/repos","events_url":"https://api.github.com/users/plondon/events{/privacy}","received_events_url":"https://api.github.com/users/plondon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-17T21:33:58Z","updated_at":"2016-10-18T05:18:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c93003b6288fe355e3e5b62e34628a4d62a49e2","assignee":{"login":"Sjors","id":10217,"avatar_url":"https://avatars.githubusercontent.com/u/10217?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjors","html_url":"https://github.com/Sjors","followers_url":"https://api.github.com/users/Sjors/followers","following_url":"https://api.github.com/users/Sjors/following{/other_user}","gists_url":"https://api.github.com/users/Sjors/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjors/subscriptions","organizations_url":"https://api.github.com/users/Sjors/orgs","repos_url":"https://api.github.com/users/Sjors/repos","events_url":"https://api.github.com/users/Sjors/events{/privacy}","received_events_url":"https://api.github.com/users/Sjors/received_events","type":"User","site_admin":false},"assignees":[{"login":"Sjors","id":10217,"avatar_url":"https://avatars.githubusercontent.com/u/10217?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjors","html_url":"https://github.com/Sjors","followers_url":"https://api.github.com/users/Sjors/followers","following_url":"https://api.github.com/users/Sjors/following{/other_user}","gists_url":"https://api.github.com/users/Sjors/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjors/subscriptions","organizations_url":"https://api.github.com/users/Sjors/orgs","repos_url":"https://api.github.com/users/Sjors/repos","events_url":"https://api.github.com/users/Sjors/events{/privacy}","received_events_url":"https://api.github.com/users/Sjors/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297/commits","review_comments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297/comments","review_comment_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/297/comments","statuses_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/statuses/abcb18e1bc0257b2959da90e9c76b364f5df7d10","head":{"label":"blockchain:btc-fiat-quote","ref":"btc-fiat-quote","sha":"abcb18e1bc0257b2959da90e9c76b364f5df7d10","user":{"login":"blockchain","id":1777722,"avatar_url":"https://avatars.githubusercontent.com/u/1777722?v=3","gravatar_id":"","url":"https://api.github.com/users/blockchain","html_url":"https://github.com/blockchain","followers_url":"https://api.github.com/users/blockchain/followers","following_url":"https://api.github.com/users/blockchain/following{/other_user}","gists_url":"https://api.github.com/users/blockchain/gists{/gist_id}","starred_url":"https://api.github.com/users/blockchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blockchain/subscriptions","organizations_url":"https://api.github.com/users/blockchain/orgs","repos_url":"https://api.github.com/users/blockchain/repos","events_url":"https://api.github.com/users/blockchain/events{/privacy}","received_events_url":"https://api.github.com/users/blockchain/received_events","type":"Organization","site_admin":false},"repo":{"id":24322737,"name":"My-Wallet-V3","full_name":"blockchain/My-Wallet-V3","owner":{"login":"blockchain","id":1777722,"avatar_url":"https://avatars.githubusercontent.com/u/1777722?v=3","gravatar_id":"","url":"https://api.github.com/users/blockchain","html_url":"https://github.com/blockchain","followers_url":"https://api.github.com/users/blockchain/followers","following_url":"https://api.github.com/users/blockchain/following{/other_user}","gists_url":"https://api.github.com/users/blockchain/gists{/gist_id}","starred_url":"https://api.github.com/users/blockchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blockchain/subscriptions","organizations_url":"https://api.github.com/users/blockchain/orgs","repos_url":"https://api.github.com/users/blockchain/repos","events_url":"https://api.github.com/users/blockchain/events{/privacy}","received_events_url":"https://api.github.com/users/blockchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blockchain/My-Wallet-V3","description":"Blockchain Wallet","fork":false,"url":"https://api.github.com/repos/blockchain/My-Wallet-V3","forks_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/forks","keys_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/teams","hooks_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/hooks","issue_events_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/events{/number}","events_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/events","assignees_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/assignees{/user}","branches_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/branches{/branch}","tags_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/tags","blobs_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/refs{/sha}","trees_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/statuses/{sha}","languages_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/languages","stargazers_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/stargazers","contributors_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/contributors","subscribers_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/subscribers","subscription_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/subscription","commits_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/commits{/sha}","git_commits_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/commits{/sha}","comments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/comments{/number}","issue_comment_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/comments{/number}","contents_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/contents/{+path}","compare_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/merges","archive_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/downloads","issues_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues{/number}","pulls_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls{/number}","milestones_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/milestones{/number}","notifications_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/labels{/name}","releases_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/releases{/id}","deployments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/deployments","created_at":"2014-09-22T09:38:24Z","updated_at":"2016-10-16T15:20:11Z","pushed_at":"2016-10-17T21:33:58Z","git_url":"git://github.com/blockchain/My-Wallet-V3.git","ssh_url":"git@github.com:blockchain/My-Wallet-V3.git","clone_url":"https://github.com/blockchain/My-Wallet-V3.git","svn_url":"https://github.com/blockchain/My-Wallet-V3","homepage":"https://blockchain.info/wallet","size":5660,"stargazers_count":36,"watchers_count":36,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":4,"forks":45,"open_issues":4,"watchers":36,"default_branch":"master"}},"base":{"label":"blockchain:master","ref":"master","sha":"e01bced83451559bfcd3fc41f3e75a8799ed5b04","user":{"login":"blockchain","id":1777722,"avatar_url":"https://avatars.githubusercontent.com/u/1777722?v=3","gravatar_id":"","url":"https://api.github.com/users/blockchain","html_url":"https://github.com/blockchain","followers_url":"https://api.github.com/users/blockchain/followers","following_url":"https://api.github.com/users/blockchain/following{/other_user}","gists_url":"https://api.github.com/users/blockchain/gists{/gist_id}","starred_url":"https://api.github.com/users/blockchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blockchain/subscriptions","organizations_url":"https://api.github.com/users/blockchain/orgs","repos_url":"https://api.github.com/users/blockchain/repos","events_url":"https://api.github.com/users/blockchain/events{/privacy}","received_events_url":"https://api.github.com/users/blockchain/received_events","type":"Organization","site_admin":false},"repo":{"id":24322737,"name":"My-Wallet-V3","full_name":"blockchain/My-Wallet-V3","owner":{"login":"blockchain","id":1777722,"avatar_url":"https://avatars.githubusercontent.com/u/1777722?v=3","gravatar_id":"","url":"https://api.github.com/users/blockchain","html_url":"https://github.com/blockchain","followers_url":"https://api.github.com/users/blockchain/followers","following_url":"https://api.github.com/users/blockchain/following{/other_user}","gists_url":"https://api.github.com/users/blockchain/gists{/gist_id}","starred_url":"https://api.github.com/users/blockchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blockchain/subscriptions","organizations_url":"https://api.github.com/users/blockchain/orgs","repos_url":"https://api.github.com/users/blockchain/repos","events_url":"https://api.github.com/users/blockchain/events{/privacy}","received_events_url":"https://api.github.com/users/blockchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blockchain/My-Wallet-V3","description":"Blockchain Wallet","fork":false,"url":"https://api.github.com/repos/blockchain/My-Wallet-V3","forks_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/forks","keys_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/teams","hooks_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/hooks","issue_events_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/events{/number}","events_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/events","assignees_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/assignees{/user}","branches_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/branches{/branch}","tags_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/tags","blobs_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/refs{/sha}","trees_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/statuses/{sha}","languages_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/languages","stargazers_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/stargazers","contributors_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/contributors","subscribers_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/subscribers","subscription_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/subscription","commits_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/commits{/sha}","git_commits_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/git/commits{/sha}","comments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/comments{/number}","issue_comment_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/comments{/number}","contents_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/contents/{+path}","compare_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/merges","archive_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/downloads","issues_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues{/number}","pulls_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls{/number}","milestones_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/milestones{/number}","notifications_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/labels{/name}","releases_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/releases{/id}","deployments_url":"https://api.github.com/repos/blockchain/My-Wallet-V3/deployments","created_at":"2014-09-22T09:38:24Z","updated_at":"2016-10-16T15:20:11Z","pushed_at":"2016-10-17T21:33:58Z","git_url":"git://github.com/blockchain/My-Wallet-V3.git","ssh_url":"git@github.com:blockchain/My-Wallet-V3.git","clone_url":"https://github.com/blockchain/My-Wallet-V3.git","svn_url":"https://github.com/blockchain/My-Wallet-V3","homepage":"https://blockchain.info/wallet","size":5660,"stargazers_count":36,"watchers_count":36,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":4,"forks":45,"open_issues":4,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297"},"html":{"href":"https://github.com/blockchain/My-Wallet-V3/pull/297"},"issue":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/297"},"comments":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/blockchain/My-Wallet-V3/statuses/abcb18e1bc0257b2959da90e9c76b364f5df7d10"}}}}
{"actor":{"display_login":"Sjors"}}