{"action":"created","issue":{"url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/21","labels_url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/21/comments","events_url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/21/events","html_url":"https://github.com/flaviohenriquealmeida/mean-livro-codigo/issues/21","id":98846045,"number":21,"title":"Cap 5.12","user":{"login":"felipechama","id":9948797,"avatar_url":"https://avatars.githubusercontent.com/u/9948797?v=3","gravatar_id":"","url":"https://api.github.com/users/felipechama","html_url":"https://github.com/felipechama","followers_url":"https://api.github.com/users/felipechama/followers","following_url":"https://api.github.com/users/felipechama/following{/other_user}","gists_url":"https://api.github.com/users/felipechama/gists{/gist_id}","starred_url":"https://api.github.com/users/felipechama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipechama/subscriptions","organizations_url":"https://api.github.com/users/felipechama/orgs","repos_url":"https://api.github.com/users/felipechama/repos","events_url":"https://api.github.com/users/felipechama/events{/privacy}","received_events_url":"https://api.github.com/users/felipechama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-03T21:55:13Z","updated_at":"2015-08-03T22:59:48Z","closed_at":null,"body":"O script está apresentando erro 500 e quando fui debugar (dando console.log em cada parte do script) identifiquei que ele não está passando undefined em req.body. \r\n\r\nAssim que envio os dados ele não consegue pegar os dados do formulário para criar um novo usuário ou alterá-lo. Como resolver?   "},"comment":{"url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/comments/127427165","html_url":"https://github.com/flaviohenriquealmeida/mean-livro-codigo/issues/21#issuecomment-127427165","issue_url":"https://api.github.com/repos/flaviohenriquealmeida/mean-livro-codigo/issues/21","id":127427165,"user":{"login":"felipechama","id":9948797,"avatar_url":"https://avatars.githubusercontent.com/u/9948797?v=3","gravatar_id":"","url":"https://api.github.com/users/felipechama","html_url":"https://github.com/felipechama","followers_url":"https://api.github.com/users/felipechama/followers","following_url":"https://api.github.com/users/felipechama/following{/other_user}","gists_url":"https://api.github.com/users/felipechama/gists{/gist_id}","starred_url":"https://api.github.com/users/felipechama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipechama/subscriptions","organizations_url":"https://api.github.com/users/felipechama/orgs","repos_url":"https://api.github.com/users/felipechama/repos","events_url":"https://api.github.com/users/felipechama/events{/privacy}","received_events_url":"https://api.github.com/users/felipechama/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T22:59:48Z","updated_at":"2015-08-03T22:59:48Z","body":"Comparei os arquivos com seu repositório e nada! Erro 500 ainda :/\r\nSe puder me ajudar: https://github.com/felipechama/livro-mean "}}