{"action":"opened","issue":{"url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/178","repository_url":"https://api.github.com/repos/TwinePlatform/twine-api","labels_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/178/comments","events_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/178/events","html_url":"https://github.com/TwinePlatform/twine-api/issues/178","id":366301570,"node_id":"MDU6SXNzdWUzNjYzMDE1NzA=","number":178,"title":"🐛 Users.destroy does not update contact consent","user":{"login":"astroash","id":14337958,"node_id":"MDQ6VXNlcjE0MzM3OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/14337958?v=4","gravatar_id":"","url":"https://api.github.com/users/astroash","html_url":"https://github.com/astroash","followers_url":"https://api.github.com/users/astroash/followers","following_url":"https://api.github.com/users/astroash/following{/other_user}","gists_url":"https://api.github.com/users/astroash/gists{/gist_id}","starred_url":"https://api.github.com/users/astroash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroash/subscriptions","organizations_url":"https://api.github.com/users/astroash/orgs","repos_url":"https://api.github.com/users/astroash/repos","events_url":"https://api.github.com/users/astroash/events{/privacy}","received_events_url":"https://api.github.com/users/astroash/received_events","type":"User","site_admin":false},"labels":[{"id":949351419,"node_id":"MDU6TGFiZWw5NDkzNTE0MTk=","url":"https://api.github.com/repos/TwinePlatform/twine-api/labels/5%EF%B8%8F%E2%83%A3%20priority-5","name":"5️⃣ priority-5","color":"B0B6E8","default":false},{"id":948311792,"node_id":"MDU6TGFiZWw5NDgzMTE3OTI=","url":"https://api.github.com/repos/TwinePlatform/twine-api/labels/%F0%9F%90%9B%20bug","name":"🐛 bug","color":"d73a4a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T11:52:33Z","updated_at":"2018-10-03T11:52:33Z","closed_at":null,"author_association":"MEMBER","body":"`Users.destroy` does not update contact consent columns in database. This will cause issues when we are collating lists of people who can be contacted.\r\n\r\nOn deletion we should either\r\n- update consent rows to `null`\r\n- update consent rows to `false`"}}
{"actor":{"display_login":"astroash"}}