{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/blueimpact/kucipong/pulls/40","id":91480344,"html_url":"https://github.com/blueimpact/kucipong/pull/40","diff_url":"https://github.com/blueimpact/kucipong/pull/40.diff","patch_url":"https://github.com/blueimpact/kucipong/pull/40.patch","issue_url":"https://api.github.com/repos/blueimpact/kucipong/issues/40","number":40,"state":"open","locked":false,"title":"Fix the 500 error that occurs when admin creates store with email that already exists in db","user":{"login":"cdepillabout","id":64804,"avatar_url":"https://avatars.githubusercontent.com/u/64804?v=3","gravatar_id":"","url":"https://api.github.com/users/cdepillabout","html_url":"https://github.com/cdepillabout","followers_url":"https://api.github.com/users/cdepillabout/followers","following_url":"https://api.github.com/users/cdepillabout/following{/other_user}","gists_url":"https://api.github.com/users/cdepillabout/gists{/gist_id}","starred_url":"https://api.github.com/users/cdepillabout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdepillabout/subscriptions","organizations_url":"https://api.github.com/users/cdepillabout/orgs","repos_url":"https://api.github.com/users/cdepillabout/repos","events_url":"https://api.github.com/users/cdepillabout/events{/privacy}","received_events_url":"https://api.github.com/users/cdepillabout/received_events","type":"User","site_admin":false},"body":"This PR fixes the 500 error that was occuring when the admin user tries to create a store with an email that already exists in the `store_email` table.  This fixes part of #23.  The other part of #23 will be fixed in another PR.\r\n\r\nThe main fix is in commit 56cdd16.\r\n\r\nThe following commits are just reformatting.\r\n\r\nThis PR depends on PR #39.  So make sure that one is merged in before this one.","created_at":"2016-10-29T06:03:47Z","updated_at":"2016-10-29T06:03:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/blueimpact/kucipong/pulls/40/commits","review_comments_url":"https://api.github.com/repos/blueimpact/kucipong/pulls/40/comments","review_comment_url":"https://api.github.com/repos/blueimpact/kucipong/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blueimpact/kucipong/issues/40/comments","statuses_url":"https://api.github.com/repos/blueimpact/kucipong/statuses/736055250248842092e477a9922ec18338617e55","head":{"label":"cdepillabout:fix-store-create-post-error","ref":"fix-store-create-post-error","sha":"736055250248842092e477a9922ec18338617e55","user":{"login":"cdepillabout","id":64804,"avatar_url":"https://avatars.githubusercontent.com/u/64804?v=3","gravatar_id":"","url":"https://api.github.com/users/cdepillabout","html_url":"https://github.com/cdepillabout","followers_url":"https://api.github.com/users/cdepillabout/followers","following_url":"https://api.github.com/users/cdepillabout/following{/other_user}","gists_url":"https://api.github.com/users/cdepillabout/gists{/gist_id}","starred_url":"https://api.github.com/users/cdepillabout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdepillabout/subscriptions","organizations_url":"https://api.github.com/users/cdepillabout/orgs","repos_url":"https://api.github.com/users/cdepillabout/repos","events_url":"https://api.github.com/users/cdepillabout/events{/privacy}","received_events_url":"https://api.github.com/users/cdepillabout/received_events","type":"User","site_admin":false},"repo":{"id":65195908,"name":"kucipong","full_name":"cdepillabout/kucipong","owner":{"login":"cdepillabout","id":64804,"avatar_url":"https://avatars.githubusercontent.com/u/64804?v=3","gravatar_id":"","url":"https://api.github.com/users/cdepillabout","html_url":"https://github.com/cdepillabout","followers_url":"https://api.github.com/users/cdepillabout/followers","following_url":"https://api.github.com/users/cdepillabout/following{/other_user}","gists_url":"https://api.github.com/users/cdepillabout/gists{/gist_id}","starred_url":"https://api.github.com/users/cdepillabout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdepillabout/subscriptions","organizations_url":"https://api.github.com/users/cdepillabout/orgs","repos_url":"https://api.github.com/users/cdepillabout/repos","events_url":"https://api.github.com/users/cdepillabout/events{/privacy}","received_events_url":"https://api.github.com/users/cdepillabout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdepillabout/kucipong","description":null,"fork":true,"url":"https://api.github.com/repos/cdepillabout/kucipong","forks_url":"https://api.github.com/repos/cdepillabout/kucipong/forks","keys_url":"https://api.github.com/repos/cdepillabout/kucipong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdepillabout/kucipong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdepillabout/kucipong/teams","hooks_url":"https://api.github.com/repos/cdepillabout/kucipong/hooks","issue_events_url":"https://api.github.com/repos/cdepillabout/kucipong/issues/events{/number}","events_url":"https://api.github.com/repos/cdepillabout/kucipong/events","assignees_url":"https://api.github.com/repos/cdepillabout/kucipong/assignees{/user}","branches_url":"https://api.github.com/repos/cdepillabout/kucipong/branches{/branch}","tags_url":"https://api.github.com/repos/cdepillabout/kucipong/tags","blobs_url":"https://api.github.com/repos/cdepillabout/kucipong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdepillabout/kucipong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdepillabout/kucipong/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdepillabout/kucipong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdepillabout/kucipong/statuses/{sha}","languages_url":"https://api.github.com/repos/cdepillabout/kucipong/languages","stargazers_url":"https://api.github.com/repos/cdepillabout/kucipong/stargazers","contributors_url":"https://api.github.com/repos/cdepillabout/kucipong/contributors","subscribers_url":"https://api.github.com/repos/cdepillabout/kucipong/subscribers","subscription_url":"https://api.github.com/repos/cdepillabout/kucipong/subscription","commits_url":"https://api.github.com/repos/cdepillabout/kucipong/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdepillabout/kucipong/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdepillabout/kucipong/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdepillabout/kucipong/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdepillabout/kucipong/contents/{+path}","compare_url":"https://api.github.com/repos/cdepillabout/kucipong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdepillabout/kucipong/merges","archive_url":"https://api.github.com/repos/cdepillabout/kucipong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdepillabout/kucipong/downloads","issues_url":"https://api.github.com/repos/cdepillabout/kucipong/issues{/number}","pulls_url":"https://api.github.com/repos/cdepillabout/kucipong/pulls{/number}","milestones_url":"https://api.github.com/repos/cdepillabout/kucipong/milestones{/number}","notifications_url":"https://api.github.com/repos/cdepillabout/kucipong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdepillabout/kucipong/labels{/name}","releases_url":"https://api.github.com/repos/cdepillabout/kucipong/releases{/id}","deployments_url":"https://api.github.com/repos/cdepillabout/kucipong/deployments","created_at":"2016-08-08T10:37:39Z","updated_at":"2016-08-08T10:37:39Z","pushed_at":"2016-10-29T05:59:57Z","git_url":"git://github.com/cdepillabout/kucipong.git","ssh_url":"git@github.com:cdepillabout/kucipong.git","clone_url":"https://github.com/cdepillabout/kucipong.git","svn_url":"https://github.com/cdepillabout/kucipong","homepage":null,"size":468,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"blueimpact:master","ref":"master","sha":"61e82d984bf6556c29e5e845a9a6d40b8d7f4a7f","user":{"login":"blueimpact","id":20761745,"avatar_url":"https://avatars.githubusercontent.com/u/20761745?v=3","gravatar_id":"","url":"https://api.github.com/users/blueimpact","html_url":"https://github.com/blueimpact","followers_url":"https://api.github.com/users/blueimpact/followers","following_url":"https://api.github.com/users/blueimpact/following{/other_user}","gists_url":"https://api.github.com/users/blueimpact/gists{/gist_id}","starred_url":"https://api.github.com/users/blueimpact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueimpact/subscriptions","organizations_url":"https://api.github.com/users/blueimpact/orgs","repos_url":"https://api.github.com/users/blueimpact/repos","events_url":"https://api.github.com/users/blueimpact/events{/privacy}","received_events_url":"https://api.github.com/users/blueimpact/received_events","type":"Organization","site_admin":false},"repo":{"id":64625385,"name":"kucipong","full_name":"blueimpact/kucipong","owner":{"login":"blueimpact","id":20761745,"avatar_url":"https://avatars.githubusercontent.com/u/20761745?v=3","gravatar_id":"","url":"https://api.github.com/users/blueimpact","html_url":"https://github.com/blueimpact","followers_url":"https://api.github.com/users/blueimpact/followers","following_url":"https://api.github.com/users/blueimpact/following{/other_user}","gists_url":"https://api.github.com/users/blueimpact/gists{/gist_id}","starred_url":"https://api.github.com/users/blueimpact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueimpact/subscriptions","organizations_url":"https://api.github.com/users/blueimpact/orgs","repos_url":"https://api.github.com/users/blueimpact/repos","events_url":"https://api.github.com/users/blueimpact/events{/privacy}","received_events_url":"https://api.github.com/users/blueimpact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blueimpact/kucipong","description":null,"fork":false,"url":"https://api.github.com/repos/blueimpact/kucipong","forks_url":"https://api.github.com/repos/blueimpact/kucipong/forks","keys_url":"https://api.github.com/repos/blueimpact/kucipong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueimpact/kucipong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueimpact/kucipong/teams","hooks_url":"https://api.github.com/repos/blueimpact/kucipong/hooks","issue_events_url":"https://api.github.com/repos/blueimpact/kucipong/issues/events{/number}","events_url":"https://api.github.com/repos/blueimpact/kucipong/events","assignees_url":"https://api.github.com/repos/blueimpact/kucipong/assignees{/user}","branches_url":"https://api.github.com/repos/blueimpact/kucipong/branches{/branch}","tags_url":"https://api.github.com/repos/blueimpact/kucipong/tags","blobs_url":"https://api.github.com/repos/blueimpact/kucipong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueimpact/kucipong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueimpact/kucipong/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueimpact/kucipong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueimpact/kucipong/statuses/{sha}","languages_url":"https://api.github.com/repos/blueimpact/kucipong/languages","stargazers_url":"https://api.github.com/repos/blueimpact/kucipong/stargazers","contributors_url":"https://api.github.com/repos/blueimpact/kucipong/contributors","subscribers_url":"https://api.github.com/repos/blueimpact/kucipong/subscribers","subscription_url":"https://api.github.com/repos/blueimpact/kucipong/subscription","commits_url":"https://api.github.com/repos/blueimpact/kucipong/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueimpact/kucipong/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueimpact/kucipong/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueimpact/kucipong/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueimpact/kucipong/contents/{+path}","compare_url":"https://api.github.com/repos/blueimpact/kucipong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueimpact/kucipong/merges","archive_url":"https://api.github.com/repos/blueimpact/kucipong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueimpact/kucipong/downloads","issues_url":"https://api.github.com/repos/blueimpact/kucipong/issues{/number}","pulls_url":"https://api.github.com/repos/blueimpact/kucipong/pulls{/number}","milestones_url":"https://api.github.com/repos/blueimpact/kucipong/milestones{/number}","notifications_url":"https://api.github.com/repos/blueimpact/kucipong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueimpact/kucipong/labels{/name}","releases_url":"https://api.github.com/repos/blueimpact/kucipong/releases{/id}","deployments_url":"https://api.github.com/repos/blueimpact/kucipong/deployments","created_at":"2016-08-01T01:22:28Z","updated_at":"2016-10-22T12:27:41Z","pushed_at":"2016-10-29T04:33:09Z","git_url":"git://github.com/blueimpact/kucipong.git","ssh_url":"git@github.com:blueimpact/kucipong.git","clone_url":"https://github.com/blueimpact/kucipong.git","svn_url":"https://github.com/blueimpact/kucipong","homepage":null,"size":632,"stargazers_count":1,"watchers_count":1,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blueimpact/kucipong/pulls/40"},"html":{"href":"https://github.com/blueimpact/kucipong/pull/40"},"issue":{"href":"https://api.github.com/repos/blueimpact/kucipong/issues/40"},"comments":{"href":"https://api.github.com/repos/blueimpact/kucipong/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/blueimpact/kucipong/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/blueimpact/kucipong/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blueimpact/kucipong/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/blueimpact/kucipong/statuses/736055250248842092e477a9922ec18338617e55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":365,"deletions":369,"changed_files":9}}
{"actor":{"display_login":"cdepillabout"}}