{"action":"created","issue":{"url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/2","labels_url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/2/comments","events_url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/2/events","html_url":"https://github.com/pwalczyszyn/grunt-slack-hook/issues/2","id":50539636,"number":2,"title":"Webhook URL is not valid anymore","user":{"login":"YouriT","id":1449797,"avatar_url":"https://avatars.githubusercontent.com/u/1449797?v=3","gravatar_id":"","url":"https://api.github.com/users/YouriT","html_url":"https://github.com/YouriT","followers_url":"https://api.github.com/users/YouriT/followers","following_url":"https://api.github.com/users/YouriT/following{/other_user}","gists_url":"https://api.github.com/users/YouriT/gists{/gist_id}","starred_url":"https://api.github.com/users/YouriT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YouriT/subscriptions","organizations_url":"https://api.github.com/users/YouriT/orgs","repos_url":"https://api.github.com/users/YouriT/repos","events_url":"https://api.github.com/users/YouriT/events{/privacy}","received_events_url":"https://api.github.com/users/YouriT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-01T15:58:37Z","updated_at":"2015-02-05T18:58:00Z","closed_at":null,"body":"Slack has changed incoming webhooks URL's, therefore, I would replace:\r\n```javascript\r\nurl = 'https://' + options.domain + '.slack.com/services/hooks/incoming-webhook?token=' + options.token,\r\n```\r\nby\r\n```javascript\r\nurl = options.endpoint ? options.endpoint : 'https://' + options.domain + '.slack.com/services/hooks/incoming-webhook?token=' + options.token,\r\n```\r\n\r\nTo allow flexibility between every kind of endpoints ;)"},"comment":{"url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/comments/73104527","html_url":"https://github.com/pwalczyszyn/grunt-slack-hook/issues/2#issuecomment-73104527","issue_url":"https://api.github.com/repos/pwalczyszyn/grunt-slack-hook/issues/2","id":73104527,"user":{"login":"EdHurtig","id":1410448,"avatar_url":"https://avatars.githubusercontent.com/u/1410448?v=3","gravatar_id":"","url":"https://api.github.com/users/EdHurtig","html_url":"https://github.com/EdHurtig","followers_url":"https://api.github.com/users/EdHurtig/followers","following_url":"https://api.github.com/users/EdHurtig/following{/other_user}","gists_url":"https://api.github.com/users/EdHurtig/gists{/gist_id}","starred_url":"https://api.github.com/users/EdHurtig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdHurtig/subscriptions","organizations_url":"https://api.github.com/users/EdHurtig/orgs","repos_url":"https://api.github.com/users/EdHurtig/repos","events_url":"https://api.github.com/users/EdHurtig/events{/privacy}","received_events_url":"https://api.github.com/users/EdHurtig/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T18:58:00Z","updated_at":"2015-02-05T18:58:00Z","body":"@YouriT Thank you very much for publishing your fork officially. Funny Timing, was just starting to work on patching this up myself"}}