{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/390","repository_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/390/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/390/events","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/390","id":153236689,"number":390,"title":"Add data to lots table","user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-05T13:53:30Z","updated_at":"2016-05-09T10:54:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/pulls/390","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/390","diff_url":"https://github.com/alphagov/digitalmarketplace-api/pull/390.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-api/pull/390.patch"},"body":"This is required to do a \"proper\" fix for the following bug:\r\nhttps://www.pivotaltracker.com/story/show/118986461\r\n\r\nBy keeping relevant data in the lots table about the type of thing that gets submitted for that lot we can avoid having logic in the frontend that needs to know the specifics of different lots.  Instead the frontend can get everything it needs to know from the API."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/comments/217834444","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/390#issuecomment-217834444","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/390","id":217834444,"user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T10:54:28Z","updated_at":"2016-05-09T10:54:28Z","body":"The tests were already fixed but got missed out of that last commit.  Honest :)"}}