{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/193","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/193/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/193/events","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/193","id":98359232,"number":193,"title":"Minor bug fixes and 'not_a_number' validation","user":{"login":"robyoung","id":14287,"avatar_url":"https://avatars.githubusercontent.com/u/14287?v=3","gravatar_id":"","url":"https://api.github.com/users/robyoung","html_url":"https://github.com/robyoung","followers_url":"https://api.github.com/users/robyoung/followers","following_url":"https://api.github.com/users/robyoung/following{/other_user}","gists_url":"https://api.github.com/users/robyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/robyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robyoung/subscriptions","organizations_url":"https://api.github.com/users/robyoung/orgs","repos_url":"https://api.github.com/users/robyoung/repos","events_url":"https://api.github.com/users/robyoung/events{/privacy}","received_events_url":"https://api.github.com/users/robyoung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T10:09:29Z","updated_at":"2015-07-31T10:15:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/pulls/193","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/193","diff_url":"https://github.com/alphagov/digitalmarketplace-api/pull/193.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-api/pull/193.patch"},"body":"## Correctly handle invalid JSON\r\n\r\nBefore this change invalid JSON would cause Werkzeug to raise an error which would not be formatted in our standard way. The body of this error would not be JSON.\r\n\r\n## Fix user validation and improve error messaging\r\n\r\nThe role is required as it's used on the very next line. This change also adds in detailed error messaging like for service.\r\n\r\n## Fix UTC bug in audit tests\r\n\r\nThis bug only manifests itself between 12 and 1am BST. Today BST is the next day according to UTC.\r\n\r\n## Add validation message for 'not_a_number'\r\n\r\nThis makes it easier to parse errors where a field is not a number."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/comments/126634711","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/193#issuecomment-126634711","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/193","id":126634711,"user":{"login":"allait","id":246664,"avatar_url":"https://avatars.githubusercontent.com/u/246664?v=3","gravatar_id":"","url":"https://api.github.com/users/allait","html_url":"https://github.com/allait","followers_url":"https://api.github.com/users/allait/followers","following_url":"https://api.github.com/users/allait/following{/other_user}","gists_url":"https://api.github.com/users/allait/gists{/gist_id}","starred_url":"https://api.github.com/users/allait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allait/subscriptions","organizations_url":"https://api.github.com/users/allait/orgs","repos_url":"https://api.github.com/users/allait/repos","events_url":"https://api.github.com/users/allait/events{/privacy}","received_events_url":"https://api.github.com/users/allait/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T10:15:15Z","updated_at":"2015-07-31T10:15:15Z","body":":+1:"}}