{"action":"created","comment":{"url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/comments/75511950","id":75511950,"diff_hunk":"@@ -37,18 +40,30 @@ const reducer: Reducer<State, Action> =\n       case DEACTIVATED_MEMBER:\n         return (\n           { ...member\n-          , activation_status: { value: 'deactivated', initial_value: member.activation_status.initial_value }\n+          , activation_status: { value: 'deactivated', initialValue: member.activation_status.initialValue }\n           , deletion_date: { value: new Date().toISOString() }\n           }\n         )\n       case REACTIVATED_MEMBER:\n         return (\n           { ...member\n-          , activation_status: { value: 'activated', initial_value: member.activation_status.initial_value }\n+          , activation_status: { value: 'activated', initialValue: member.activation_status.initialValue }\n           , deletion_date: {}\n           , deletion_reason: { value: null }\n           }\n         )\n+      case UPDATED_MEMBERSHIP_TYPE:","path":"src/shared/redux/modules/member.js","position":37,"original_position":37,"commit_id":"81a7d35da610b6927606dc630d43ee52d8ef30c7","original_commit_id":"81a7d35da610b6927606dc630d43ee52d8ef30c7","user":{"login":"ivanmauricio","id":12462448,"avatar_url":"https://avatars.githubusercontent.com/u/12462448?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanmauricio","html_url":"https://github.com/ivanmauricio","followers_url":"https://api.github.com/users/ivanmauricio/followers","following_url":"https://api.github.com/users/ivanmauricio/following{/other_user}","gists_url":"https://api.github.com/users/ivanmauricio/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanmauricio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanmauricio/subscriptions","organizations_url":"https://api.github.com/users/ivanmauricio/orgs","repos_url":"https://api.github.com/users/ivanmauricio/repos","events_url":"https://api.github.com/users/ivanmauricio/events{/privacy}","received_events_url":"https://api.github.com/users/ivanmauricio/received_events","type":"User","site_admin":false},"body":"Ahh I get it. I didn't think about that actually. I could have a look if we decide that doing this on front-end is best course of action.","created_at":"2016-08-19T16:30:19Z","updated_at":"2016-08-19T16:30:19Z","html_url":"https://github.com/foundersandcoders/sail-back/pull/346#discussion_r75511950","pull_request_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346","_links":{"self":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/comments/75511950"},"html":{"href":"https://github.com/foundersandcoders/sail-back/pull/346#discussion_r75511950"},"pull_request":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346"}}},"pull_request":{"url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346","id":81973012,"html_url":"https://github.com/foundersandcoders/sail-back/pull/346","diff_url":"https://github.com/foundersandcoders/sail-back/pull/346.diff","patch_url":"https://github.com/foundersandcoders/sail-back/pull/346.patch","issue_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/346","number":346,"state":"open","locked":false,"title":"Change membership_type and corresponding details on frontend.","user":{"login":"ivanmauricio","id":12462448,"avatar_url":"https://avatars.githubusercontent.com/u/12462448?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanmauricio","html_url":"https://github.com/ivanmauricio","followers_url":"https://api.github.com/users/ivanmauricio/followers","following_url":"https://api.github.com/users/ivanmauricio/following{/other_user}","gists_url":"https://api.github.com/users/ivanmauricio/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanmauricio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanmauricio/subscriptions","organizations_url":"https://api.github.com/users/ivanmauricio/orgs","repos_url":"https://api.github.com/users/ivanmauricio/repos","events_url":"https://api.github.com/users/ivanmauricio/events{/privacy}","received_events_url":"https://api.github.com/users/ivanmauricio/received_events","type":"User","site_admin":false},"body":"@rjmk this is not ready to be merged in but would love for you to have a look. ","created_at":"2016-08-19T12:27:20Z","updated_at":"2016-08-19T16:30:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d6a90baa5a637587e6d4611d359af065f459a39","assignee":{"login":"rjmk","id":12041390,"avatar_url":"https://avatars.githubusercontent.com/u/12041390?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmk","html_url":"https://github.com/rjmk","followers_url":"https://api.github.com/users/rjmk/followers","following_url":"https://api.github.com/users/rjmk/following{/other_user}","gists_url":"https://api.github.com/users/rjmk/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmk/subscriptions","organizations_url":"https://api.github.com/users/rjmk/orgs","repos_url":"https://api.github.com/users/rjmk/repos","events_url":"https://api.github.com/users/rjmk/events{/privacy}","received_events_url":"https://api.github.com/users/rjmk/received_events","type":"User","site_admin":false},"assignees":[{"login":"rjmk","id":12041390,"avatar_url":"https://avatars.githubusercontent.com/u/12041390?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmk","html_url":"https://github.com/rjmk","followers_url":"https://api.github.com/users/rjmk/followers","following_url":"https://api.github.com/users/rjmk/following{/other_user}","gists_url":"https://api.github.com/users/rjmk/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmk/subscriptions","organizations_url":"https://api.github.com/users/rjmk/orgs","repos_url":"https://api.github.com/users/rjmk/repos","events_url":"https://api.github.com/users/rjmk/events{/privacy}","received_events_url":"https://api.github.com/users/rjmk/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346/commits","review_comments_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346/comments","review_comment_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/comments{/number}","comments_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/346/comments","statuses_url":"https://api.github.com/repos/foundersandcoders/sail-back/statuses/81a7d35da610b6927606dc630d43ee52d8ef30c7","head":{"label":"foundersandcoders:change-membership-type-frontend","ref":"change-membership-type-frontend","sha":"81a7d35da610b6927606dc630d43ee52d8ef30c7","user":{"login":"foundersandcoders","id":9970257,"avatar_url":"https://avatars.githubusercontent.com/u/9970257?v=3","gravatar_id":"","url":"https://api.github.com/users/foundersandcoders","html_url":"https://github.com/foundersandcoders","followers_url":"https://api.github.com/users/foundersandcoders/followers","following_url":"https://api.github.com/users/foundersandcoders/following{/other_user}","gists_url":"https://api.github.com/users/foundersandcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/foundersandcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foundersandcoders/subscriptions","organizations_url":"https://api.github.com/users/foundersandcoders/orgs","repos_url":"https://api.github.com/users/foundersandcoders/repos","events_url":"https://api.github.com/users/foundersandcoders/events{/privacy}","received_events_url":"https://api.github.com/users/foundersandcoders/received_events","type":"Organization","site_admin":false},"repo":{"id":36240693,"name":"sail-back","full_name":"foundersandcoders/sail-back","owner":{"login":"foundersandcoders","id":9970257,"avatar_url":"https://avatars.githubusercontent.com/u/9970257?v=3","gravatar_id":"","url":"https://api.github.com/users/foundersandcoders","html_url":"https://github.com/foundersandcoders","followers_url":"https://api.github.com/users/foundersandcoders/followers","following_url":"https://api.github.com/users/foundersandcoders/following{/other_user}","gists_url":"https://api.github.com/users/foundersandcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/foundersandcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foundersandcoders/subscriptions","organizations_url":"https://api.github.com/users/foundersandcoders/orgs","repos_url":"https://api.github.com/users/foundersandcoders/repos","events_url":"https://api.github.com/users/foundersandcoders/events{/privacy}","received_events_url":"https://api.github.com/users/foundersandcoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/foundersandcoders/sail-back","description":"Membership management for Friends of Chichester Harbour","fork":false,"url":"https://api.github.com/repos/foundersandcoders/sail-back","forks_url":"https://api.github.com/repos/foundersandcoders/sail-back/forks","keys_url":"https://api.github.com/repos/foundersandcoders/sail-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foundersandcoders/sail-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foundersandcoders/sail-back/teams","hooks_url":"https://api.github.com/repos/foundersandcoders/sail-back/hooks","issue_events_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/events{/number}","events_url":"https://api.github.com/repos/foundersandcoders/sail-back/events","assignees_url":"https://api.github.com/repos/foundersandcoders/sail-back/assignees{/user}","branches_url":"https://api.github.com/repos/foundersandcoders/sail-back/branches{/branch}","tags_url":"https://api.github.com/repos/foundersandcoders/sail-back/tags","blobs_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foundersandcoders/sail-back/statuses/{sha}","languages_url":"https://api.github.com/repos/foundersandcoders/sail-back/languages","stargazers_url":"https://api.github.com/repos/foundersandcoders/sail-back/stargazers","contributors_url":"https://api.github.com/repos/foundersandcoders/sail-back/contributors","subscribers_url":"https://api.github.com/repos/foundersandcoders/sail-back/subscribers","subscription_url":"https://api.github.com/repos/foundersandcoders/sail-back/subscription","commits_url":"https://api.github.com/repos/foundersandcoders/sail-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/foundersandcoders/sail-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/foundersandcoders/sail-back/contents/{+path}","compare_url":"https://api.github.com/repos/foundersandcoders/sail-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foundersandcoders/sail-back/merges","archive_url":"https://api.github.com/repos/foundersandcoders/sail-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foundersandcoders/sail-back/downloads","issues_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues{/number}","pulls_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls{/number}","milestones_url":"https://api.github.com/repos/foundersandcoders/sail-back/milestones{/number}","notifications_url":"https://api.github.com/repos/foundersandcoders/sail-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foundersandcoders/sail-back/labels{/name}","releases_url":"https://api.github.com/repos/foundersandcoders/sail-back/releases{/id}","deployments_url":"https://api.github.com/repos/foundersandcoders/sail-back/deployments","created_at":"2015-05-25T16:05:54Z","updated_at":"2016-02-04T16:27:13Z","pushed_at":"2016-08-19T12:27:21Z","git_url":"git://github.com/foundersandcoders/sail-back.git","ssh_url":"git@github.com:foundersandcoders/sail-back.git","clone_url":"https://github.com/foundersandcoders/sail-back.git","svn_url":"https://github.com/foundersandcoders/sail-back","homepage":"","size":3179,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":4,"default_branch":"master"}},"base":{"label":"foundersandcoders:master","ref":"master","sha":"ac6097803b2c8d9c51447d7338951bc1cecea5e7","user":{"login":"foundersandcoders","id":9970257,"avatar_url":"https://avatars.githubusercontent.com/u/9970257?v=3","gravatar_id":"","url":"https://api.github.com/users/foundersandcoders","html_url":"https://github.com/foundersandcoders","followers_url":"https://api.github.com/users/foundersandcoders/followers","following_url":"https://api.github.com/users/foundersandcoders/following{/other_user}","gists_url":"https://api.github.com/users/foundersandcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/foundersandcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foundersandcoders/subscriptions","organizations_url":"https://api.github.com/users/foundersandcoders/orgs","repos_url":"https://api.github.com/users/foundersandcoders/repos","events_url":"https://api.github.com/users/foundersandcoders/events{/privacy}","received_events_url":"https://api.github.com/users/foundersandcoders/received_events","type":"Organization","site_admin":false},"repo":{"id":36240693,"name":"sail-back","full_name":"foundersandcoders/sail-back","owner":{"login":"foundersandcoders","id":9970257,"avatar_url":"https://avatars.githubusercontent.com/u/9970257?v=3","gravatar_id":"","url":"https://api.github.com/users/foundersandcoders","html_url":"https://github.com/foundersandcoders","followers_url":"https://api.github.com/users/foundersandcoders/followers","following_url":"https://api.github.com/users/foundersandcoders/following{/other_user}","gists_url":"https://api.github.com/users/foundersandcoders/gists{/gist_id}","starred_url":"https://api.github.com/users/foundersandcoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foundersandcoders/subscriptions","organizations_url":"https://api.github.com/users/foundersandcoders/orgs","repos_url":"https://api.github.com/users/foundersandcoders/repos","events_url":"https://api.github.com/users/foundersandcoders/events{/privacy}","received_events_url":"https://api.github.com/users/foundersandcoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/foundersandcoders/sail-back","description":"Membership management for Friends of Chichester Harbour","fork":false,"url":"https://api.github.com/repos/foundersandcoders/sail-back","forks_url":"https://api.github.com/repos/foundersandcoders/sail-back/forks","keys_url":"https://api.github.com/repos/foundersandcoders/sail-back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foundersandcoders/sail-back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foundersandcoders/sail-back/teams","hooks_url":"https://api.github.com/repos/foundersandcoders/sail-back/hooks","issue_events_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/events{/number}","events_url":"https://api.github.com/repos/foundersandcoders/sail-back/events","assignees_url":"https://api.github.com/repos/foundersandcoders/sail-back/assignees{/user}","branches_url":"https://api.github.com/repos/foundersandcoders/sail-back/branches{/branch}","tags_url":"https://api.github.com/repos/foundersandcoders/sail-back/tags","blobs_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/refs{/sha}","trees_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foundersandcoders/sail-back/statuses/{sha}","languages_url":"https://api.github.com/repos/foundersandcoders/sail-back/languages","stargazers_url":"https://api.github.com/repos/foundersandcoders/sail-back/stargazers","contributors_url":"https://api.github.com/repos/foundersandcoders/sail-back/contributors","subscribers_url":"https://api.github.com/repos/foundersandcoders/sail-back/subscribers","subscription_url":"https://api.github.com/repos/foundersandcoders/sail-back/subscription","commits_url":"https://api.github.com/repos/foundersandcoders/sail-back/commits{/sha}","git_commits_url":"https://api.github.com/repos/foundersandcoders/sail-back/git/commits{/sha}","comments_url":"https://api.github.com/repos/foundersandcoders/sail-back/comments{/number}","issue_comment_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues/comments{/number}","contents_url":"https://api.github.com/repos/foundersandcoders/sail-back/contents/{+path}","compare_url":"https://api.github.com/repos/foundersandcoders/sail-back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foundersandcoders/sail-back/merges","archive_url":"https://api.github.com/repos/foundersandcoders/sail-back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foundersandcoders/sail-back/downloads","issues_url":"https://api.github.com/repos/foundersandcoders/sail-back/issues{/number}","pulls_url":"https://api.github.com/repos/foundersandcoders/sail-back/pulls{/number}","milestones_url":"https://api.github.com/repos/foundersandcoders/sail-back/milestones{/number}","notifications_url":"https://api.github.com/repos/foundersandcoders/sail-back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foundersandcoders/sail-back/labels{/name}","releases_url":"https://api.github.com/repos/foundersandcoders/sail-back/releases{/id}","deployments_url":"https://api.github.com/repos/foundersandcoders/sail-back/deployments","created_at":"2015-05-25T16:05:54Z","updated_at":"2016-02-04T16:27:13Z","pushed_at":"2016-08-19T12:27:21Z","git_url":"git://github.com/foundersandcoders/sail-back.git","ssh_url":"git@github.com:foundersandcoders/sail-back.git","clone_url":"https://github.com/foundersandcoders/sail-back.git","svn_url":"https://github.com/foundersandcoders/sail-back","homepage":"","size":3179,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346"},"html":{"href":"https://github.com/foundersandcoders/sail-back/pull/346"},"issue":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/issues/346"},"comments":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/issues/346/comments"},"review_comments":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346/comments"},"review_comment":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/pulls/346/commits"},"statuses":{"href":"https://api.github.com/repos/foundersandcoders/sail-back/statuses/81a7d35da610b6927606dc630d43ee52d8ef30c7"}}}}
{"actor":{"display_login":"ivanmauricio"}}