{"action":"created","comment":{"url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/comments/183619028","pull_request_review_id":114647228,"id":183619028,"diff_hunk":"@@ -91,10 +92,31 @@ export const configure = () => async (dispatch: Function, getState: GetState) =>\n       contract.account,\n     )\n     dispatch(fetch())\n+\n+    const emailResult = await fetchAPI({\n+      query: `\n+        mutation ($accountData: AccountData!, $txHash: String!, $ticker: String!) {\n+          withAccount(accountData: $accountData, txHash: $txHash) {\n+            sendEmailSTOLaunched(ticker: $ticker)","path":"src/app/sto/actions.js","position":17,"original_position":17,"commit_id":"789b32fbf010c9ebd9c70a1a53c43b339b515c54","original_commit_id":"be16070d518d33acd63bca93a12e8a5eebb76e43","user":{"login":"bshevchenko","id":1531049,"avatar_url":"https://avatars3.githubusercontent.com/u/1531049?v=4","gravatar_id":"","url":"https://api.github.com/users/bshevchenko","html_url":"https://github.com/bshevchenko","followers_url":"https://api.github.com/users/bshevchenko/followers","following_url":"https://api.github.com/users/bshevchenko/following{/other_user}","gists_url":"https://api.github.com/users/bshevchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/bshevchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshevchenko/subscriptions","organizations_url":"https://api.github.com/users/bshevchenko/orgs","repos_url":"https://api.github.com/users/bshevchenko/repos","events_url":"https://api.github.com/users/bshevchenko/events{/privacy}","received_events_url":"https://api.github.com/users/bshevchenko/received_events","type":"User","site_admin":false},"body":"Why do you send data like ticker or symbolDetails there? Why don't just grab it from the blockchain events on the API side? What prevents user to use our API to receive emails on transactions which are not related to the Polymath network?","created_at":"2018-04-24T06:42:28Z","updated_at":"2018-04-24T06:44:26Z","html_url":"https://github.com/PolymathNetwork/polymath-issuer/pull/26#discussion_r183619028","pull_request_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/comments/183619028"},"html":{"href":"https://github.com/PolymathNetwork/polymath-issuer/pull/26#discussion_r183619028"},"pull_request":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26"}},"in_reply_to_id":183335568},"pull_request":{"url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26","id":183139195,"html_url":"https://github.com/PolymathNetwork/polymath-issuer/pull/26","diff_url":"https://github.com/PolymathNetwork/polymath-issuer/pull/26.diff","patch_url":"https://github.com/PolymathNetwork/polymath-issuer/pull/26.patch","issue_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/26","number":26,"state":"open","locked":false,"title":"Add emails for ticker registration, token issuance and STO launch.","user":{"login":"Adam0000","id":5590173,"avatar_url":"https://avatars2.githubusercontent.com/u/5590173?v=4","gravatar_id":"","url":"https://api.github.com/users/Adam0000","html_url":"https://github.com/Adam0000","followers_url":"https://api.github.com/users/Adam0000/followers","following_url":"https://api.github.com/users/Adam0000/following{/other_user}","gists_url":"https://api.github.com/users/Adam0000/gists{/gist_id}","starred_url":"https://api.github.com/users/Adam0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adam0000/subscriptions","organizations_url":"https://api.github.com/users/Adam0000/orgs","repos_url":"https://api.github.com/users/Adam0000/repos","events_url":"https://api.github.com/users/Adam0000/events{/privacy}","received_events_url":"https://api.github.com/users/Adam0000/received_events","type":"User","site_admin":false},"body":"Due to #22 we may need to run `localStorage.deleteItem('account')` and go through the sign-up again each time we reprovision ganache-cli.","created_at":"2018-04-20T18:36:34Z","updated_at":"2018-04-24T06:44:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cfd76d23613ce8063bc72e3240f690a304fcd78","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26/commits","review_comments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26/comments","review_comment_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/26/comments","statuses_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/statuses/789b32fbf010c9ebd9c70a1a53c43b339b515c54","head":{"label":"PolymathNetwork:emails","ref":"emails","sha":"789b32fbf010c9ebd9c70a1a53c43b339b515c54","user":{"login":"PolymathNetwork","id":30353617,"avatar_url":"https://avatars0.githubusercontent.com/u/30353617?v=4","gravatar_id":"","url":"https://api.github.com/users/PolymathNetwork","html_url":"https://github.com/PolymathNetwork","followers_url":"https://api.github.com/users/PolymathNetwork/followers","following_url":"https://api.github.com/users/PolymathNetwork/following{/other_user}","gists_url":"https://api.github.com/users/PolymathNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymathNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymathNetwork/subscriptions","organizations_url":"https://api.github.com/users/PolymathNetwork/orgs","repos_url":"https://api.github.com/users/PolymathNetwork/repos","events_url":"https://api.github.com/users/PolymathNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/PolymathNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":124990161,"name":"polymath-issuer","full_name":"PolymathNetwork/polymath-issuer","owner":{"login":"PolymathNetwork","id":30353617,"avatar_url":"https://avatars0.githubusercontent.com/u/30353617?v=4","gravatar_id":"","url":"https://api.github.com/users/PolymathNetwork","html_url":"https://github.com/PolymathNetwork","followers_url":"https://api.github.com/users/PolymathNetwork/followers","following_url":"https://api.github.com/users/PolymathNetwork/following{/other_user}","gists_url":"https://api.github.com/users/PolymathNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymathNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymathNetwork/subscriptions","organizations_url":"https://api.github.com/users/PolymathNetwork/orgs","repos_url":"https://api.github.com/users/PolymathNetwork/repos","events_url":"https://api.github.com/users/PolymathNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/PolymathNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymathNetwork/polymath-issuer","description":"Security Token Issuer + STO Launcher","fork":false,"url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer","forks_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/forks","keys_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/teams","hooks_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/hooks","issue_events_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/events{/number}","events_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/events","assignees_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/assignees{/user}","branches_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/branches{/branch}","tags_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/tags","blobs_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/languages","stargazers_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/stargazers","contributors_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/contributors","subscribers_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/subscribers","subscription_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/subscription","commits_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/contents/{+path}","compare_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/merges","archive_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/downloads","issues_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues{/number}","pulls_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/labels{/name}","releases_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/releases{/id}","deployments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/deployments","created_at":"2018-03-13T04:02:28Z","updated_at":"2018-04-24T06:20:38Z","pushed_at":"2018-04-24T06:20:37Z","git_url":"git://github.com/PolymathNetwork/polymath-issuer.git","ssh_url":"git@github.com:PolymathNetwork/polymath-issuer.git","clone_url":"https://github.com/PolymathNetwork/polymath-issuer.git","svn_url":"https://github.com/PolymathNetwork/polymath-issuer","homepage":null,"size":4332,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":0,"open_issues":14,"watchers":2,"default_branch":"master"}},"base":{"label":"PolymathNetwork:master","ref":"master","sha":"8dbbc0d1b647c8f39df1e3a9ef7443028cf7480b","user":{"login":"PolymathNetwork","id":30353617,"avatar_url":"https://avatars0.githubusercontent.com/u/30353617?v=4","gravatar_id":"","url":"https://api.github.com/users/PolymathNetwork","html_url":"https://github.com/PolymathNetwork","followers_url":"https://api.github.com/users/PolymathNetwork/followers","following_url":"https://api.github.com/users/PolymathNetwork/following{/other_user}","gists_url":"https://api.github.com/users/PolymathNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymathNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymathNetwork/subscriptions","organizations_url":"https://api.github.com/users/PolymathNetwork/orgs","repos_url":"https://api.github.com/users/PolymathNetwork/repos","events_url":"https://api.github.com/users/PolymathNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/PolymathNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":124990161,"name":"polymath-issuer","full_name":"PolymathNetwork/polymath-issuer","owner":{"login":"PolymathNetwork","id":30353617,"avatar_url":"https://avatars0.githubusercontent.com/u/30353617?v=4","gravatar_id":"","url":"https://api.github.com/users/PolymathNetwork","html_url":"https://github.com/PolymathNetwork","followers_url":"https://api.github.com/users/PolymathNetwork/followers","following_url":"https://api.github.com/users/PolymathNetwork/following{/other_user}","gists_url":"https://api.github.com/users/PolymathNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymathNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymathNetwork/subscriptions","organizations_url":"https://api.github.com/users/PolymathNetwork/orgs","repos_url":"https://api.github.com/users/PolymathNetwork/repos","events_url":"https://api.github.com/users/PolymathNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/PolymathNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymathNetwork/polymath-issuer","description":"Security Token Issuer + STO Launcher","fork":false,"url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer","forks_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/forks","keys_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/teams","hooks_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/hooks","issue_events_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/events{/number}","events_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/events","assignees_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/assignees{/user}","branches_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/branches{/branch}","tags_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/tags","blobs_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/languages","stargazers_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/stargazers","contributors_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/contributors","subscribers_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/subscribers","subscription_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/subscription","commits_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/contents/{+path}","compare_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/merges","archive_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/downloads","issues_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues{/number}","pulls_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/labels{/name}","releases_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/releases{/id}","deployments_url":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/deployments","created_at":"2018-03-13T04:02:28Z","updated_at":"2018-04-24T06:20:38Z","pushed_at":"2018-04-24T06:20:37Z","git_url":"git://github.com/PolymathNetwork/polymath-issuer.git","ssh_url":"git@github.com:PolymathNetwork/polymath-issuer.git","clone_url":"https://github.com/PolymathNetwork/polymath-issuer.git","svn_url":"https://github.com/PolymathNetwork/polymath-issuer","homepage":null,"size":4332,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":0,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26"},"html":{"href":"https://github.com/PolymathNetwork/polymath-issuer/pull/26"},"issue":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/26"},"comments":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/PolymathNetwork/polymath-issuer/statuses/789b32fbf010c9ebd9c70a1a53c43b339b515c54"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bshevchenko"}}