{"action":"created","comment":{"url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/comments/53515747","id":53515747,"diff_hunk":"@@ -66,13 +67,13 @@ const mapStateToProps = (state) => {\n \n const mapDispatchToProps = (dispatch) => {\n   return {\n-    fetchCollection: (url: string) => dispatch(fetchCollection(url)),\n-    fetchPage: (url: string) => dispatch(fetchPage(url)),\n-    fetchBook: (url: string) => dispatch(fetchBook(url)),\n+    fetchCollection: (url: string, fetcher: DataFetcher) => dispatch(fetchCollection(url, fetcher)),\n+    fetchPage: (url: string, fetcher: DataFetcher) => dispatch(fetchPage(url, fetcher)),\n+    fetchBook: (url: string, fetcher: DataFetcher) => dispatch(fetchBook(url, fetcher)),","path":"src/components/Root.tsx","position":17,"original_position":17,"commit_id":"cda8d6426ae5adc570f612634e8f3c360164ab8f","original_commit_id":"cda8d6426ae5adc570f612634e8f3c360164ab8f","user":{"login":"aslagle","id":3409215,"avatar_url":"https://avatars.githubusercontent.com/u/3409215?v=3","gravatar_id":"","url":"https://api.github.com/users/aslagle","html_url":"https://github.com/aslagle","followers_url":"https://api.github.com/users/aslagle/followers","following_url":"https://api.github.com/users/aslagle/following{/other_user}","gists_url":"https://api.github.com/users/aslagle/gists{/gist_id}","starred_url":"https://api.github.com/users/aslagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslagle/subscriptions","organizations_url":"https://api.github.com/users/aslagle/orgs","repos_url":"https://api.github.com/users/aslagle/repos","events_url":"https://api.github.com/users/aslagle/events{/privacy}","received_events_url":"https://api.github.com/users/aslagle/received_events","type":"User","site_admin":false},"body":"is there a better way to do this?","created_at":"2016-02-19T20:44:34Z","updated_at":"2016-02-19T20:44:34Z","html_url":"https://github.com/NYPL-Simplified/opds-browser/pull/84#discussion_r53515747","pull_request_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/comments/53515747"},"html":{"href":"https://github.com/NYPL-Simplified/opds-browser/pull/84#discussion_r53515747"},"pull_request":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84","id":60004797,"html_url":"https://github.com/NYPL-Simplified/opds-browser/pull/84","diff_url":"https://github.com/NYPL-Simplified/opds-browser/pull/84.diff","patch_url":"https://github.com/NYPL-Simplified/opds-browser/pull/84.patch","issue_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/84","number":84,"state":"open","locked":false,"title":"Made a config option for proxy url. (Fixes #77)","user":{"login":"aslagle","id":3409215,"avatar_url":"https://avatars.githubusercontent.com/u/3409215?v=3","gravatar_id":"","url":"https://api.github.com/users/aslagle","html_url":"https://github.com/aslagle","followers_url":"https://api.github.com/users/aslagle/followers","following_url":"https://api.github.com/users/aslagle/following{/other_user}","gists_url":"https://api.github.com/users/aslagle/gists{/gist_id}","starred_url":"https://api.github.com/users/aslagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslagle/subscriptions","organizations_url":"https://api.github.com/users/aslagle/orgs","repos_url":"https://api.github.com/users/aslagle/repos","events_url":"https://api.github.com/users/aslagle/events{/privacy}","received_events_url":"https://api.github.com/users/aslagle/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-19T20:44:07Z","updated_at":"2016-02-19T20:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eab373a6563836924c02cff521599215348a2454","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84/commits","review_comments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84/comments","review_comment_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/84/comments","statuses_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/statuses/cda8d6426ae5adc570f612634e8f3c360164ab8f","head":{"label":"NYPL-Simplified:proxy-optional","ref":"proxy-optional","sha":"cda8d6426ae5adc570f612634e8f3c360164ab8f","user":{"login":"NYPL-Simplified","id":16416905,"avatar_url":"https://avatars.githubusercontent.com/u/16416905?v=3","gravatar_id":"","url":"https://api.github.com/users/NYPL-Simplified","html_url":"https://github.com/NYPL-Simplified","followers_url":"https://api.github.com/users/NYPL-Simplified/followers","following_url":"https://api.github.com/users/NYPL-Simplified/following{/other_user}","gists_url":"https://api.github.com/users/NYPL-Simplified/gists{/gist_id}","starred_url":"https://api.github.com/users/NYPL-Simplified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYPL-Simplified/subscriptions","organizations_url":"https://api.github.com/users/NYPL-Simplified/orgs","repos_url":"https://api.github.com/users/NYPL-Simplified/repos","events_url":"https://api.github.com/users/NYPL-Simplified/events{/privacy}","received_events_url":"https://api.github.com/users/NYPL-Simplified/received_events","type":"Organization","site_admin":false},"repo":{"id":50209322,"name":"opds-browser","full_name":"NYPL-Simplified/opds-browser","owner":{"login":"NYPL-Simplified","id":16416905,"avatar_url":"https://avatars.githubusercontent.com/u/16416905?v=3","gravatar_id":"","url":"https://api.github.com/users/NYPL-Simplified","html_url":"https://github.com/NYPL-Simplified","followers_url":"https://api.github.com/users/NYPL-Simplified/followers","following_url":"https://api.github.com/users/NYPL-Simplified/following{/other_user}","gists_url":"https://api.github.com/users/NYPL-Simplified/gists{/gist_id}","starred_url":"https://api.github.com/users/NYPL-Simplified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYPL-Simplified/subscriptions","organizations_url":"https://api.github.com/users/NYPL-Simplified/orgs","repos_url":"https://api.github.com/users/NYPL-Simplified/repos","events_url":"https://api.github.com/users/NYPL-Simplified/events{/privacy}","received_events_url":"https://api.github.com/users/NYPL-Simplified/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYPL-Simplified/opds-browser","description":"Web-based OPDS browser","fork":false,"url":"https://api.github.com/repos/NYPL-Simplified/opds-browser","forks_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/forks","keys_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/teams","hooks_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/hooks","issue_events_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/events{/number}","events_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/events","assignees_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/assignees{/user}","branches_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/branches{/branch}","tags_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/tags","blobs_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/statuses/{sha}","languages_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/languages","stargazers_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/stargazers","contributors_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/contributors","subscribers_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/subscribers","subscription_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/subscription","commits_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/contents/{+path}","compare_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/merges","archive_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/downloads","issues_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues{/number}","pulls_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls{/number}","milestones_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/milestones{/number}","notifications_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/labels{/name}","releases_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/releases{/id}","deployments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/deployments","created_at":"2016-01-22T21:43:35Z","updated_at":"2016-02-04T15:25:03Z","pushed_at":"2016-02-19T20:44:08Z","git_url":"git://github.com/NYPL-Simplified/opds-browser.git","ssh_url":"git@github.com:NYPL-Simplified/opds-browser.git","clone_url":"https://github.com/NYPL-Simplified/opds-browser.git","svn_url":"https://github.com/NYPL-Simplified/opds-browser","homepage":null,"size":563,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":1,"default_branch":"master"}},"base":{"label":"NYPL-Simplified:master","ref":"master","sha":"d867a7e5d5897d1e8fe7dc9c6bb0692cc84c407b","user":{"login":"NYPL-Simplified","id":16416905,"avatar_url":"https://avatars.githubusercontent.com/u/16416905?v=3","gravatar_id":"","url":"https://api.github.com/users/NYPL-Simplified","html_url":"https://github.com/NYPL-Simplified","followers_url":"https://api.github.com/users/NYPL-Simplified/followers","following_url":"https://api.github.com/users/NYPL-Simplified/following{/other_user}","gists_url":"https://api.github.com/users/NYPL-Simplified/gists{/gist_id}","starred_url":"https://api.github.com/users/NYPL-Simplified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYPL-Simplified/subscriptions","organizations_url":"https://api.github.com/users/NYPL-Simplified/orgs","repos_url":"https://api.github.com/users/NYPL-Simplified/repos","events_url":"https://api.github.com/users/NYPL-Simplified/events{/privacy}","received_events_url":"https://api.github.com/users/NYPL-Simplified/received_events","type":"Organization","site_admin":false},"repo":{"id":50209322,"name":"opds-browser","full_name":"NYPL-Simplified/opds-browser","owner":{"login":"NYPL-Simplified","id":16416905,"avatar_url":"https://avatars.githubusercontent.com/u/16416905?v=3","gravatar_id":"","url":"https://api.github.com/users/NYPL-Simplified","html_url":"https://github.com/NYPL-Simplified","followers_url":"https://api.github.com/users/NYPL-Simplified/followers","following_url":"https://api.github.com/users/NYPL-Simplified/following{/other_user}","gists_url":"https://api.github.com/users/NYPL-Simplified/gists{/gist_id}","starred_url":"https://api.github.com/users/NYPL-Simplified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYPL-Simplified/subscriptions","organizations_url":"https://api.github.com/users/NYPL-Simplified/orgs","repos_url":"https://api.github.com/users/NYPL-Simplified/repos","events_url":"https://api.github.com/users/NYPL-Simplified/events{/privacy}","received_events_url":"https://api.github.com/users/NYPL-Simplified/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYPL-Simplified/opds-browser","description":"Web-based OPDS browser","fork":false,"url":"https://api.github.com/repos/NYPL-Simplified/opds-browser","forks_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/forks","keys_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/teams","hooks_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/hooks","issue_events_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/events{/number}","events_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/events","assignees_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/assignees{/user}","branches_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/branches{/branch}","tags_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/tags","blobs_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/statuses/{sha}","languages_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/languages","stargazers_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/stargazers","contributors_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/contributors","subscribers_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/subscribers","subscription_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/subscription","commits_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/contents/{+path}","compare_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/merges","archive_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/downloads","issues_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues{/number}","pulls_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls{/number}","milestones_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/milestones{/number}","notifications_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/labels{/name}","releases_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/releases{/id}","deployments_url":"https://api.github.com/repos/NYPL-Simplified/opds-browser/deployments","created_at":"2016-01-22T21:43:35Z","updated_at":"2016-02-04T15:25:03Z","pushed_at":"2016-02-19T20:44:08Z","git_url":"git://github.com/NYPL-Simplified/opds-browser.git","ssh_url":"git@github.com:NYPL-Simplified/opds-browser.git","clone_url":"https://github.com/NYPL-Simplified/opds-browser.git","svn_url":"https://github.com/NYPL-Simplified/opds-browser","homepage":null,"size":563,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84"},"html":{"href":"https://github.com/NYPL-Simplified/opds-browser/pull/84"},"issue":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/84"},"comments":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/NYPL-Simplified/opds-browser/statuses/cda8d6426ae5adc570f612634e8f3c360164ab8f"}}}}