{"action":"opened","issue":{"url":"https://api.github.com/repos/delvedor/find-my-way/issues/87","repository_url":"https://api.github.com/repos/delvedor/find-my-way","labels_url":"https://api.github.com/repos/delvedor/find-my-way/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/delvedor/find-my-way/issues/87/comments","events_url":"https://api.github.com/repos/delvedor/find-my-way/issues/87/events","html_url":"https://github.com/delvedor/find-my-way/issues/87","id":350909165,"node_id":"MDU6SXNzdWUzNTA5MDkxNjU=","number":87,"title":"README snippet typo","user":{"login":"nahue-f","id":20703677,"node_id":"MDQ6VXNlcjIwNzAzNjc3","avatar_url":"https://avatars3.githubusercontent.com/u/20703677?v=4","gravatar_id":"","url":"https://api.github.com/users/nahue-f","html_url":"https://github.com/nahue-f","followers_url":"https://api.github.com/users/nahue-f/followers","following_url":"https://api.github.com/users/nahue-f/following{/other_user}","gists_url":"https://api.github.com/users/nahue-f/gists{/gist_id}","starred_url":"https://api.github.com/users/nahue-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahue-f/subscriptions","organizations_url":"https://api.github.com/users/nahue-f/orgs","repos_url":"https://api.github.com/users/nahue-f/repos","events_url":"https://api.github.com/users/nahue-f/events{/privacy}","received_events_url":"https://api.github.com/users/nahue-f/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-15T18:09:59Z","updated_at":"2018-08-15T18:09:59Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nThere is an error in this snippet:  \r\n```javascript\r\nrouter.on('GET', '/example', { version: '1.2.0' }, (req, res, params) => {\r\n  res.send('Hello from 1.2.0!')\r\n})\r\n\r\nrouter.on('GET', '/example', { version: '2.4.0' }, (req, res, params) => {\r\n  res.send('Hello from 2.4.0!')\r\n})\r\n\r\n// The 'Accept-Version' header could be '1.2.0' as well as '*', '2.x' or '2.4.x'\r\n```\r\n\r\n`res.send` it's not a valid function, since `send` is an Express and/or Restify API. It should be `res.end`."}}
{"actor":{"display_login":"nahue-f"}}