{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/9556","labels_url":"https://api.github.com/repos/guardian/frontend/issues/9556/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/9556/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/9556/events","html_url":"https://github.com/guardian/frontend/pull/9556","id":89575997,"number":9556,"title":"Fix syntax error on profile comment activity","user":{"login":"davidrapson","id":123386,"avatar_url":"https://avatars.githubusercontent.com/u/123386?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrapson","html_url":"https://github.com/davidrapson","followers_url":"https://api.github.com/users/davidrapson/followers","following_url":"https://api.github.com/users/davidrapson/following{/other_user}","gists_url":"https://api.github.com/users/davidrapson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrapson/subscriptions","organizations_url":"https://api.github.com/users/davidrapson/orgs","repos_url":"https://api.github.com/users/davidrapson/repos","events_url":"https://api.github.com/users/davidrapson/events{/privacy}","received_events_url":"https://api.github.com/users/davidrapson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T14:18:56Z","updated_at":"2015-06-19T14:22:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/9556","html_url":"https://github.com/guardian/frontend/pull/9556","diff_url":"https://github.com/guardian/frontend/pull/9556.diff","patch_url":"https://github.com/guardian/frontend/pull/9556.patch"},"body":"Fixes an error caused by https://github.com/guardian/frontend/pull/9548, kindly reported by @johnduffell \r\n\r\n`contentType` can be undefined so calling `toLowerCase()` caused a `TypeError` on profile pages. This PR returns to previous version which didn't call `toLowerCase`.\r\n\r\n![screen shot 2015-06-19 at 15 10 24](https://cloud.githubusercontent.com/assets/123386/8255227/5a002740-1696-11e5-97a8-25769874831c.png)\r\n\r\n@stephanfowler "},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/113529762","html_url":"https://github.com/guardian/frontend/pull/9556#issuecomment-113529762","issue_url":"https://api.github.com/repos/guardian/frontend/issues/9556","id":113529762,"user":{"login":"johnduffell","id":7304387,"avatar_url":"https://avatars.githubusercontent.com/u/7304387?v=3","gravatar_id":"","url":"https://api.github.com/users/johnduffell","html_url":"https://github.com/johnduffell","followers_url":"https://api.github.com/users/johnduffell/followers","following_url":"https://api.github.com/users/johnduffell/following{/other_user}","gists_url":"https://api.github.com/users/johnduffell/gists{/gist_id}","starred_url":"https://api.github.com/users/johnduffell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnduffell/subscriptions","organizations_url":"https://api.github.com/users/johnduffell/orgs","repos_url":"https://api.github.com/users/johnduffell/repos","events_url":"https://api.github.com/users/johnduffell/events{/privacy}","received_events_url":"https://api.github.com/users/johnduffell/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T14:22:00Z","updated_at":"2015-06-19T14:22:00Z","body":":+1: great!"}}