{"action":"created","issue":{"url":"https://api.github.com/repos/bonobos/spree/issues/343","labels_url":"https://api.github.com/repos/bonobos/spree/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/bonobos/spree/issues/343/comments","events_url":"https://api.github.com/repos/bonobos/spree/issues/343/events","html_url":"https://github.com/bonobos/spree/pull/343","id":70229564,"number":343,"title":"Prevent inventory unit deletion when return items are present","user":{"login":"magnusvk","id":704153,"avatar_url":"https://avatars.githubusercontent.com/u/704153?v=3","gravatar_id":"","url":"https://api.github.com/users/magnusvk","html_url":"https://github.com/magnusvk","followers_url":"https://api.github.com/users/magnusvk/followers","following_url":"https://api.github.com/users/magnusvk/following{/other_user}","gists_url":"https://api.github.com/users/magnusvk/gists{/gist_id}","starred_url":"https://api.github.com/users/magnusvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnusvk/subscriptions","organizations_url":"https://api.github.com/users/magnusvk/orgs","repos_url":"https://api.github.com/users/magnusvk/repos","events_url":"https://api.github.com/users/magnusvk/events{/privacy}","received_events_url":"https://api.github.com/users/magnusvk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-22T20:40:03Z","updated_at":"2015-04-24T12:12:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bonobos/spree/pulls/343","html_url":"https://github.com/bonobos/spree/pull/343","diff_url":"https://github.com/bonobos/spree/pull/343.diff","patch_url":"https://github.com/bonobos/spree/pull/343.patch"},"body":"Instead of automatically deleting associated return items let's\nprevent deletions until we understand what a valid scenario for that\nmight be.\n\nThis reverts part of commit 649fb4a48fa3714e401cc51c7f13fe0aa53cb223."},"comment":{"url":"https://api.github.com/repos/bonobos/spree/issues/comments/95913057","html_url":"https://github.com/bonobos/spree/pull/343#issuecomment-95913057","issue_url":"https://api.github.com/repos/bonobos/spree/issues/343","id":95913057,"user":{"login":"gmacdougall","id":764390,"avatar_url":"https://avatars.githubusercontent.com/u/764390?v=3","gravatar_id":"","url":"https://api.github.com/users/gmacdougall","html_url":"https://github.com/gmacdougall","followers_url":"https://api.github.com/users/gmacdougall/followers","following_url":"https://api.github.com/users/gmacdougall/following{/other_user}","gists_url":"https://api.github.com/users/gmacdougall/gists{/gist_id}","starred_url":"https://api.github.com/users/gmacdougall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmacdougall/subscriptions","organizations_url":"https://api.github.com/users/gmacdougall/orgs","repos_url":"https://api.github.com/users/gmacdougall/repos","events_url":"https://api.github.com/users/gmacdougall/events{/privacy}","received_events_url":"https://api.github.com/users/gmacdougall/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T12:12:45Z","updated_at":"2015-04-24T12:12:45Z","body":"Makes sense to me. Why were the inventory units being deleted out of curiousity?"}}