{"action":"opened","issue":{"url":"https://api.github.com/repos/valgreens/dice-as-a-service/issues/1","repository_url":"https://api.github.com/repos/valgreens/dice-as-a-service","labels_url":"https://api.github.com/repos/valgreens/dice-as-a-service/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/valgreens/dice-as-a-service/issues/1/comments","events_url":"https://api.github.com/repos/valgreens/dice-as-a-service/issues/1/events","html_url":"https://github.com/valgreens/dice-as-a-service/issues/1","id":167482183,"number":1,"title":"Allows non valid dice rolls","user":{"login":"ipedrazas","id":32796,"avatar_url":"https://avatars.githubusercontent.com/u/32796?v=3","gravatar_id":"","url":"https://api.github.com/users/ipedrazas","html_url":"https://github.com/ipedrazas","followers_url":"https://api.github.com/users/ipedrazas/followers","following_url":"https://api.github.com/users/ipedrazas/following{/other_user}","gists_url":"https://api.github.com/users/ipedrazas/gists{/gist_id}","starred_url":"https://api.github.com/users/ipedrazas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipedrazas/subscriptions","organizations_url":"https://api.github.com/users/ipedrazas/orgs","repos_url":"https://api.github.com/users/ipedrazas/repos","events_url":"https://api.github.com/users/ipedrazas/events{/privacy}","received_events_url":"https://api.github.com/users/ipedrazas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T22:37:58Z","updated_at":"2016-07-25T22:37:58Z","closed_at":null,"body":"The following validation is not good enough. \r\n\r\nhttps://github.com/valgreens/dice-as-a-service/blob/master/index.js#L48\r\n\r\nThe code should check that the number of faces is a valid dice:\r\n\r\n`faces: Joi.any().valid([4, 6, 8, 10, 12, 20, 100])`"}}
{"actor":{"display_login":"ipedrazas"}}