{"action":"created","comment":{"url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/comments/41956284","id":41956284,"diff_hunk":"@@ -44,6 +44,24 @@ export default class Admin extends React.Component {\n     props.loadDonations({from: donationsFrom, to: donationsTo});\n   }\n \n+  _sendReminderEmails() {\n+    const locationIds = this.refs['coordination-table'].getSelectedLocationIds();\n+    const locationAddresses = locationIds.map(id => {\n+      const {address, city, state, zipcode} = this.props.admin.locations.find(location => +location.id === +id);","path":"lib/components/admin/Admin.js","position":7,"original_position":7,"commit_id":"1f5c30a80d22f07f72ef2ec5333035540d7a95d6","original_commit_id":"1f5c30a80d22f07f72ef2ec5333035540d7a95d6","user":{"login":"dviramontes","id":144226,"avatar_url":"https://avatars.githubusercontent.com/u/144226?v=3","gravatar_id":"","url":"https://api.github.com/users/dviramontes","html_url":"https://github.com/dviramontes","followers_url":"https://api.github.com/users/dviramontes/followers","following_url":"https://api.github.com/users/dviramontes/following{/other_user}","gists_url":"https://api.github.com/users/dviramontes/gists{/gist_id}","starred_url":"https://api.github.com/users/dviramontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dviramontes/subscriptions","organizations_url":"https://api.github.com/users/dviramontes/orgs","repos_url":"https://api.github.com/users/dviramontes/repos","events_url":"https://api.github.com/users/dviramontes/events{/privacy}","received_events_url":"https://api.github.com/users/dviramontes/received_events","type":"User","site_admin":false},"body":"yeah its pretty rad :)","created_at":"2015-10-14T05:30:54Z","updated_at":"2015-10-14T05:30:54Z","html_url":"https://github.com/codefordenver/fresh-food-connect/pull/194#discussion_r41956284","pull_request_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/comments/41956284"},"html":{"href":"https://github.com/codefordenver/fresh-food-connect/pull/194#discussion_r41956284"},"pull_request":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194","id":47618860,"html_url":"https://github.com/codefordenver/fresh-food-connect/pull/194","diff_url":"https://github.com/codefordenver/fresh-food-connect/pull/194.diff","patch_url":"https://github.com/codefordenver/fresh-food-connect/pull/194.patch","issue_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/194","number":194,"state":"closed","locked":false,"title":"Add ability to select who to send reminder emails to","user":{"login":"wdoug","id":5432102,"avatar_url":"https://avatars.githubusercontent.com/u/5432102?v=3","gravatar_id":"","url":"https://api.github.com/users/wdoug","html_url":"https://github.com/wdoug","followers_url":"https://api.github.com/users/wdoug/followers","following_url":"https://api.github.com/users/wdoug/following{/other_user}","gists_url":"https://api.github.com/users/wdoug/gists{/gist_id}","starred_url":"https://api.github.com/users/wdoug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdoug/subscriptions","organizations_url":"https://api.github.com/users/wdoug/orgs","repos_url":"https://api.github.com/users/wdoug/repos","events_url":"https://api.github.com/users/wdoug/events{/privacy}","received_events_url":"https://api.github.com/users/wdoug/received_events","type":"User","site_admin":false},"body":"This is a big hack, but it adds value, and it was requested to be done before they send out the next reminder emails tomorrow morning.","created_at":"2015-10-14T05:18:48Z","updated_at":"2015-10-14T05:30:54Z","closed_at":"2015-10-14T05:28:35Z","merged_at":"2015-10-14T05:28:35Z","merge_commit_sha":"7d24136607967f5a1e28f0894f1c78dcf0ad93e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194/commits","review_comments_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194/comments","review_comment_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/194/comments","statuses_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/statuses/1f5c30a80d22f07f72ef2ec5333035540d7a95d6","head":{"label":"codefordenver:email-select","ref":"email-select","sha":"1f5c30a80d22f07f72ef2ec5333035540d7a95d6","user":{"login":"codefordenver","id":7472092,"avatar_url":"https://avatars.githubusercontent.com/u/7472092?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordenver","html_url":"https://github.com/codefordenver","followers_url":"https://api.github.com/users/codefordenver/followers","following_url":"https://api.github.com/users/codefordenver/following{/other_user}","gists_url":"https://api.github.com/users/codefordenver/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordenver/subscriptions","organizations_url":"https://api.github.com/users/codefordenver/orgs","repos_url":"https://api.github.com/users/codefordenver/repos","events_url":"https://api.github.com/users/codefordenver/events{/privacy}","received_events_url":"https://api.github.com/users/codefordenver/received_events","type":"Organization","site_admin":false},"repo":{"id":39791105,"name":"fresh-food-connect","full_name":"codefordenver/fresh-food-connect","owner":{"login":"codefordenver","id":7472092,"avatar_url":"https://avatars.githubusercontent.com/u/7472092?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordenver","html_url":"https://github.com/codefordenver","followers_url":"https://api.github.com/users/codefordenver/followers","following_url":"https://api.github.com/users/codefordenver/following{/other_user}","gists_url":"https://api.github.com/users/codefordenver/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordenver/subscriptions","organizations_url":"https://api.github.com/users/codefordenver/orgs","repos_url":"https://api.github.com/users/codefordenver/repos","events_url":"https://api.github.com/users/codefordenver/events{/privacy}","received_events_url":"https://api.github.com/users/codefordenver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefordenver/fresh-food-connect","description":"","fork":false,"url":"https://api.github.com/repos/codefordenver/fresh-food-connect","forks_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/forks","keys_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/teams","hooks_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/hooks","issue_events_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/events{/number}","events_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/events","assignees_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/assignees{/user}","branches_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/branches{/branch}","tags_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/tags","blobs_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/languages","stargazers_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/stargazers","contributors_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/contributors","subscribers_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/subscribers","subscription_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/subscription","commits_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/contents/{+path}","compare_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/merges","archive_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/downloads","issues_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues{/number}","pulls_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/labels{/name}","releases_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/releases{/id}","created_at":"2015-07-27T18:32:05Z","updated_at":"2015-10-06T02:23:36Z","pushed_at":"2015-10-14T05:28:35Z","git_url":"git://github.com/codefordenver/fresh-food-connect.git","ssh_url":"git@github.com:codefordenver/fresh-food-connect.git","clone_url":"https://github.com/codefordenver/fresh-food-connect.git","svn_url":"https://github.com/codefordenver/fresh-food-connect","homepage":null,"size":9454,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":51,"forks":1,"open_issues":51,"watchers":5,"default_branch":"master"}},"base":{"label":"codefordenver:master","ref":"master","sha":"bdf35cffb234e851a933f23cdcb49bea42de7706","user":{"login":"codefordenver","id":7472092,"avatar_url":"https://avatars.githubusercontent.com/u/7472092?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordenver","html_url":"https://github.com/codefordenver","followers_url":"https://api.github.com/users/codefordenver/followers","following_url":"https://api.github.com/users/codefordenver/following{/other_user}","gists_url":"https://api.github.com/users/codefordenver/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordenver/subscriptions","organizations_url":"https://api.github.com/users/codefordenver/orgs","repos_url":"https://api.github.com/users/codefordenver/repos","events_url":"https://api.github.com/users/codefordenver/events{/privacy}","received_events_url":"https://api.github.com/users/codefordenver/received_events","type":"Organization","site_admin":false},"repo":{"id":39791105,"name":"fresh-food-connect","full_name":"codefordenver/fresh-food-connect","owner":{"login":"codefordenver","id":7472092,"avatar_url":"https://avatars.githubusercontent.com/u/7472092?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordenver","html_url":"https://github.com/codefordenver","followers_url":"https://api.github.com/users/codefordenver/followers","following_url":"https://api.github.com/users/codefordenver/following{/other_user}","gists_url":"https://api.github.com/users/codefordenver/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordenver/subscriptions","organizations_url":"https://api.github.com/users/codefordenver/orgs","repos_url":"https://api.github.com/users/codefordenver/repos","events_url":"https://api.github.com/users/codefordenver/events{/privacy}","received_events_url":"https://api.github.com/users/codefordenver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefordenver/fresh-food-connect","description":"","fork":false,"url":"https://api.github.com/repos/codefordenver/fresh-food-connect","forks_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/forks","keys_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/teams","hooks_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/hooks","issue_events_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/events{/number}","events_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/events","assignees_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/assignees{/user}","branches_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/branches{/branch}","tags_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/tags","blobs_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/languages","stargazers_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/stargazers","contributors_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/contributors","subscribers_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/subscribers","subscription_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/subscription","commits_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/contents/{+path}","compare_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/merges","archive_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/downloads","issues_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues{/number}","pulls_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/labels{/name}","releases_url":"https://api.github.com/repos/codefordenver/fresh-food-connect/releases{/id}","created_at":"2015-07-27T18:32:05Z","updated_at":"2015-10-06T02:23:36Z","pushed_at":"2015-10-14T05:28:35Z","git_url":"git://github.com/codefordenver/fresh-food-connect.git","ssh_url":"git@github.com:codefordenver/fresh-food-connect.git","clone_url":"https://github.com/codefordenver/fresh-food-connect.git","svn_url":"https://github.com/codefordenver/fresh-food-connect","homepage":null,"size":9454,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":51,"forks":1,"open_issues":51,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194"},"html":{"href":"https://github.com/codefordenver/fresh-food-connect/pull/194"},"issue":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/194"},"comments":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/codefordenver/fresh-food-connect/statuses/1f5c30a80d22f07f72ef2ec5333035540d7a95d6"}}}}