{"action":"created","issue":{"url":"https://api.github.com/repos/FACK1/had-am-sa/issues/39","repository_url":"https://api.github.com/repos/FACK1/had-am-sa","labels_url":"https://api.github.com/repos/FACK1/had-am-sa/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/FACK1/had-am-sa/issues/39/comments","events_url":"https://api.github.com/repos/FACK1/had-am-sa/issues/39/events","html_url":"https://github.com/FACK1/had-am-sa/issues/39","id":388083374,"node_id":"MDU6SXNzdWUzODgwODMzNzQ=","number":39,"title":"Fix indentation  ","user":{"login":"shahenazmonia","id":25413313,"node_id":"MDQ6VXNlcjI1NDEzMzEz","avatar_url":"https://avatars3.githubusercontent.com/u/25413313?v=4","gravatar_id":"","url":"https://api.github.com/users/shahenazmonia","html_url":"https://github.com/shahenazmonia","followers_url":"https://api.github.com/users/shahenazmonia/followers","following_url":"https://api.github.com/users/shahenazmonia/following{/other_user}","gists_url":"https://api.github.com/users/shahenazmonia/gists{/gist_id}","starred_url":"https://api.github.com/users/shahenazmonia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahenazmonia/subscriptions","organizations_url":"https://api.github.com/users/shahenazmonia/orgs","repos_url":"https://api.github.com/users/shahenazmonia/repos","events_url":"https://api.github.com/users/shahenazmonia/events{/privacy}","received_events_url":"https://api.github.com/users/shahenazmonia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T07:07:06Z","updated_at":"2018-12-06T07:10:27Z","closed_at":null,"author_association":"NONE","body":"```js\r\n  if (contentTypeMapping[extention] === undefined) {\r\n\t\t     pageNotFoundHandler(request, response);\r\n\t\t       return;\r\n  }\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/FACK1/had-am-sa/issues/comments/444771015","html_url":"https://github.com/FACK1/had-am-sa/issues/39#issuecomment-444771015","issue_url":"https://api.github.com/repos/FACK1/had-am-sa/issues/39","id":444771015,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDc3MTAxNQ==","user":{"login":"shahenazmonia","id":25413313,"node_id":"MDQ6VXNlcjI1NDEzMzEz","avatar_url":"https://avatars3.githubusercontent.com/u/25413313?v=4","gravatar_id":"","url":"https://api.github.com/users/shahenazmonia","html_url":"https://github.com/shahenazmonia","followers_url":"https://api.github.com/users/shahenazmonia/followers","following_url":"https://api.github.com/users/shahenazmonia/following{/other_user}","gists_url":"https://api.github.com/users/shahenazmonia/gists{/gist_id}","starred_url":"https://api.github.com/users/shahenazmonia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahenazmonia/subscriptions","organizations_url":"https://api.github.com/users/shahenazmonia/orgs","repos_url":"https://api.github.com/users/shahenazmonia/repos","events_url":"https://api.github.com/users/shahenazmonia/events{/privacy}","received_events_url":"https://api.github.com/users/shahenazmonia/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T07:10:27Z","updated_at":"2018-12-06T07:10:27Z","author_association":"NONE","body":"Also here\r\n ```js\r\n const text = textInput.value;\r\n\t\t\tif (artistflag.checked) {\r\n\t\t\t\tcategory = \"artist\";\r\n\t\t\t} else {\r\n\t\t\t\tcategory = \"song\";\r\n\t\t\t}\r\n\t\t\tfetch(`/search?category=${category}&text=${text}`)\r\n\t\t\t\t.then(function (response) {\r\n\t\t\t\t\treturn response.json();\r\n\t\t\t\t})\r\n\t\t\t\t.then(function (data) {\r\n          console.log(data);\r\n\t\t\t\t\tif (data.length <= 0) {\r\n\t\t\t\t\t\talert(\"Sorry, No Match Found\");\r\n\t\t\t\t\t} else {\r\n            viewSerachRes(data);\r\n          }\r\n\t\t\t\t})\r\n        .catch(function (err) {\r\n\t\t\t\t\treturn console.log(err)\r\n\t\t\t\t})\r\n\t\t})\r\n\t}\r\n\r\nfunction viewSerachRes(data){\r\n\r\n\t\tdata.map(element => {\r\n\r\n\t\t\tparentContainer.innerHTML=\"\";\r\n\r\n```"}}
{"actor":{"display_login":"shahenazmonia"}}