{"action":"reopened","issue":{"url":"https://api.github.com/repos/pjerem/iviedemerde/issues/1","labels_url":"https://api.github.com/repos/pjerem/iviedemerde/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pjerem/iviedemerde/issues/1/comments","events_url":"https://api.github.com/repos/pjerem/iviedemerde/issues/1/events","html_url":"https://github.com/pjerem/iviedemerde/issues/1","id":123486900,"number":1,"title":"hum hum","user":{"login":"FGRibreau","id":138050,"avatar_url":"https://avatars.githubusercontent.com/u/138050?v=3","gravatar_id":"","url":"https://api.github.com/users/FGRibreau","html_url":"https://github.com/FGRibreau","followers_url":"https://api.github.com/users/FGRibreau/followers","following_url":"https://api.github.com/users/FGRibreau/following{/other_user}","gists_url":"https://api.github.com/users/FGRibreau/gists{/gist_id}","starred_url":"https://api.github.com/users/FGRibreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FGRibreau/subscriptions","organizations_url":"https://api.github.com/users/FGRibreau/orgs","repos_url":"https://api.github.com/users/FGRibreau/repos","events_url":"https://api.github.com/users/FGRibreau/events{/privacy}","received_events_url":"https://api.github.com/users/FGRibreau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T14:05:17Z","updated_at":"2015-12-22T14:18:36Z","closed_at":null,"body":"https://github.com/pjerem/iviedemerde/blob/master/lib/vdm.js#L30-L38\r\n\r\n```js\r\nres.send(post ? {\r\n  post: post\r\n} : {\r\n    error: 'No post for id : ' + req.params.id\r\n});\r\n```\r\n\r\nou alors:\r\n\r\n```js\r\nif (post) {\r\n  return res.send({\r\n    post: post\r\n  });\r\n}\r\n\r\nres.send({\r\n  error: 'No post for id : ' + req.params.id\r\n});\r\n```\r\n\r\n:)"}}