{"action":"created","issue":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4563","repository_url":"https://api.github.com/repos/pyrocms/pyrocms","labels_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4563/labels{/name}","comments_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4563/comments","events_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4563/events","html_url":"https://github.com/pyrocms/pyrocms/issues/4563","id":255480310,"number":4563,"title":"[users-module] - UserWasDeleted Event is fired in both Delete and ForceDelete","user":{"login":"lckamal","id":807142,"avatar_url":"https://avatars0.githubusercontent.com/u/807142?v=4","gravatar_id":"","url":"https://api.github.com/users/lckamal","html_url":"https://github.com/lckamal","followers_url":"https://api.github.com/users/lckamal/followers","following_url":"https://api.github.com/users/lckamal/following{/other_user}","gists_url":"https://api.github.com/users/lckamal/gists{/gist_id}","starred_url":"https://api.github.com/users/lckamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lckamal/subscriptions","organizations_url":"https://api.github.com/users/lckamal/orgs","repos_url":"https://api.github.com/users/lckamal/repos","events_url":"https://api.github.com/users/lckamal/events{/privacy}","received_events_url":"https://api.github.com/users/lckamal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-06T04:53:45Z","updated_at":"2017-09-06T05:15:43Z","closed_at":null,"author_association":"NONE","body":"\t\r\nI wanted to clear data from my Profiles module if user is force deleted (record is deleted from table) but while using Anomaly\\UsersModule\\User\\Event\\UserWasDeleted, This event fires on both case delete/force delete. how to know if user is deleted or force deleted?"},"comment":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/comments/327376983","html_url":"https://github.com/pyrocms/pyrocms/issues/4563#issuecomment-327376983","issue_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4563","id":327376983,"user":{"login":"lckamal","id":807142,"avatar_url":"https://avatars0.githubusercontent.com/u/807142?v=4","gravatar_id":"","url":"https://api.github.com/users/lckamal","html_url":"https://github.com/lckamal","followers_url":"https://api.github.com/users/lckamal/followers","following_url":"https://api.github.com/users/lckamal/following{/other_user}","gists_url":"https://api.github.com/users/lckamal/gists{/gist_id}","starred_url":"https://api.github.com/users/lckamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lckamal/subscriptions","organizations_url":"https://api.github.com/users/lckamal/orgs","repos_url":"https://api.github.com/users/lckamal/repos","events_url":"https://api.github.com/users/lckamal/events{/privacy}","received_events_url":"https://api.github.com/users/lckamal/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T05:15:43Z","updated_at":"2017-09-06T05:15:43Z","author_association":"NONE","body":"Because Ryan wanted to make an issue of it. For me isForceDeleting() was sufficient.\r\nhttp://take.ms/YxzN7"}}
{"actor":{"display_login":"lckamal"}}