{"action":"created","issue":{"url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/45","repository_url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1","labels_url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/45/comments","events_url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/45/events","html_url":"https://github.com/Squirrely-Ducks/bangazon-api-sprint-1/pull/45","id":308716414,"number":45,"title":"Prod type","user":{"login":"Craig-Orcutt","id":22433047,"avatar_url":"https://avatars0.githubusercontent.com/u/22433047?v=4","gravatar_id":"","url":"https://api.github.com/users/Craig-Orcutt","html_url":"https://github.com/Craig-Orcutt","followers_url":"https://api.github.com/users/Craig-Orcutt/followers","following_url":"https://api.github.com/users/Craig-Orcutt/following{/other_user}","gists_url":"https://api.github.com/users/Craig-Orcutt/gists{/gist_id}","starred_url":"https://api.github.com/users/Craig-Orcutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Craig-Orcutt/subscriptions","organizations_url":"https://api.github.com/users/Craig-Orcutt/orgs","repos_url":"https://api.github.com/users/Craig-Orcutt/repos","events_url":"https://api.github.com/users/Craig-Orcutt/events{/privacy}","received_events_url":"https://api.github.com/users/Craig-Orcutt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T20:06:40Z","updated_at":"2018-03-26T20:50:57Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/pulls/45","html_url":"https://github.com/Squirrely-Ducks/bangazon-api-sprint-1/pull/45","diff_url":"https://github.com/Squirrely-Ducks/bangazon-api-sprint-1/pull/45.diff","patch_url":"https://github.com/Squirrely-Ducks/bangazon-api-sprint-1/pull/45.patch"},"body":"## DESCRIPTION\r\nWhat did you do? \r\nALL CRUD functions for product types\r\nWhy did you do it?\r\nRequired for completion of api\r\n## STEPS TO TEST\r\n1.  To GET all product types use the URL `/prodType/all`\r\n2. To GET a product by its id, use the URL `/prodType/:id`\r\n3. To POST a new product type, use the URL `/prodType/new` e.g. `{\"type\" : \"NerF Gun\"}`\r\n4. To PUT a product type, use the URL `/prodType/edit/:id` e.g `{\"type\" : \"Lazor Pistol\"}`\r\n5. To DELETE a product type, use the URL `/prodType/delete/:id`\r\n    NOTE: a product type cannot be deleted if there is a product with that type on it\r\n\r\n## REFERENCE\r\nDoes it reference a ticket? ISSUE #5 "},"comment":{"url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/comments/376307288","html_url":"https://github.com/Squirrely-Ducks/bangazon-api-sprint-1/pull/45#issuecomment-376307288","issue_url":"https://api.github.com/repos/Squirrely-Ducks/bangazon-api-sprint-1/issues/45","id":376307288,"user":{"login":"kylesaldana5","id":32400645,"avatar_url":"https://avatars3.githubusercontent.com/u/32400645?v=4","gravatar_id":"","url":"https://api.github.com/users/kylesaldana5","html_url":"https://github.com/kylesaldana5","followers_url":"https://api.github.com/users/kylesaldana5/followers","following_url":"https://api.github.com/users/kylesaldana5/following{/other_user}","gists_url":"https://api.github.com/users/kylesaldana5/gists{/gist_id}","starred_url":"https://api.github.com/users/kylesaldana5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylesaldana5/subscriptions","organizations_url":"https://api.github.com/users/kylesaldana5/orgs","repos_url":"https://api.github.com/users/kylesaldana5/repos","events_url":"https://api.github.com/users/kylesaldana5/events{/privacy}","received_events_url":"https://api.github.com/users/kylesaldana5/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T20:50:57Z","updated_at":"2018-03-26T20:50:57Z","author_association":"CONTRIBUTOR","body":"Everything works besides the get single product by id "}}
{"actor":{"display_login":"kylesaldana5"}}