{"action":"opened","issue":{"url":"https://api.github.com/repos/inhabitedtype/ocaml-webmachine/issues/54","repository_url":"https://api.github.com/repos/inhabitedtype/ocaml-webmachine","labels_url":"https://api.github.com/repos/inhabitedtype/ocaml-webmachine/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/inhabitedtype/ocaml-webmachine/issues/54/comments","events_url":"https://api.github.com/repos/inhabitedtype/ocaml-webmachine/issues/54/events","html_url":"https://github.com/inhabitedtype/ocaml-webmachine/issues/54","id":143011044,"number":54,"title":"Corrupted PUT functionality in crud_lwt example","user":{"login":"pkel","id":11337857,"avatar_url":"https://avatars.githubusercontent.com/u/11337857?v=3","gravatar_id":"","url":"https://api.github.com/users/pkel","html_url":"https://github.com/pkel","followers_url":"https://api.github.com/users/pkel/followers","following_url":"https://api.github.com/users/pkel/following{/other_user}","gists_url":"https://api.github.com/users/pkel/gists{/gist_id}","starred_url":"https://api.github.com/users/pkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkel/subscriptions","organizations_url":"https://api.github.com/users/pkel/orgs","repos_url":"https://api.github.com/users/pkel/repos","events_url":"https://api.github.com/users/pkel/events{/privacy}","received_events_url":"https://api.github.com/users/pkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T16:31:35Z","updated_at":"2016-03-23T16:31:35Z","closed_at":null,"body":"A PUT on _localhost:8080/item/2_ changes all items put item 2. Change in [crud_lwt.ml](https://github.com/inhabitedtype/ocaml-webmachine/blob/master/examples/crud_lwt.ml) on lines 74 and 75\r\n```ocaml\r\n          then begin found := true; (id', e') end\r\n          else (id', e))\r\n```\r\nto\r\n```ocaml\r\n          then begin found := true; (id', e) end\r\n          else (id', e'))\r\n```\r\nto solve the issue."}}