{"action":"created","issue":{"url":"https://api.github.com/repos/gitcoinco/web/issues/2321","repository_url":"https://api.github.com/repos/gitcoinco/web","labels_url":"https://api.github.com/repos/gitcoinco/web/issues/2321/labels{/name}","comments_url":"https://api.github.com/repos/gitcoinco/web/issues/2321/comments","events_url":"https://api.github.com/repos/gitcoinco/web/issues/2321/events","html_url":"https://github.com/gitcoinco/web/pull/2321","id":365846890,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjY0NjQ1","number":2321,"title":"fixed avatar builder color handling","user":{"login":"evgeniuz","id":108400,"node_id":"MDQ6VXNlcjEwODQwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/108400?v=4","gravatar_id":"","url":"https://api.github.com/users/evgeniuz","html_url":"https://github.com/evgeniuz","followers_url":"https://api.github.com/users/evgeniuz/followers","following_url":"https://api.github.com/users/evgeniuz/following{/other_user}","gists_url":"https://api.github.com/users/evgeniuz/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeniuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeniuz/subscriptions","organizations_url":"https://api.github.com/users/evgeniuz/orgs","repos_url":"https://api.github.com/users/evgeniuz/repos","events_url":"https://api.github.com/users/evgeniuz/events{/privacy}","received_events_url":"https://api.github.com/users/evgeniuz/received_events","type":"User","site_admin":false},"labels":[{"id":969384506,"node_id":"MDU6TGFiZWw5NjkzODQ1MDY=","url":"https://api.github.com/repos/gitcoinco/web/labels/avatar","name":"avatar","color":"e031bd","default":false},{"id":643750116,"node_id":"MDU6TGFiZWw2NDM3NTAxMTY=","url":"https://api.github.com/repos/gitcoinco/web/labels/bug","name":"bug","color":"ff571d","default":true},{"id":817787852,"node_id":"MDU6TGFiZWw4MTc3ODc4NTI=","url":"https://api.github.com/repos/gitcoinco/web/labels/frontend","name":"frontend","color":"ffe783","default":false},{"id":805733893,"node_id":"MDU6TGFiZWw4MDU3MzM4OTM=","url":"https://api.github.com/repos/gitcoinco/web/labels/needs-testing","name":"needs-testing","color":"ffa58d","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-02T11:05:09Z","updated_at":"2018-10-02T22:33:47Z","closed_at":"2018-10-02T22:33:30Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/gitcoinco/web/pulls/2321","html_url":"https://github.com/gitcoinco/web/pull/2321","diff_url":"https://github.com/gitcoinco/web/pull/2321.diff","patch_url":"https://github.com/gitcoinco/web/pull/2321.patch"},"body":"<!--\r\n  Thank you for your pull request. Please provide a description above and review\r\n  the requirements below.\r\n\r\n  Contributors guide: https://github.com/gitcoinco/web/blob/contributing/CONTRIBUTING.md\r\n-->\r\n\r\n##### Description\r\n\r\nFixes parsing colour from path in avatar builder. The issue was that on `localhost` splitting with `'.'` was working correctly, but in production environment `path` includes actual domain with dots and splitting returns incorrect portion. Fixed this by taking portion not from beginning, but from end (where there's no domain name).\r\n\r\n##### Checklist\r\n\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [x] linter status: 100% pass\r\n- [x] changes don't break existing behavior\r\n- [x] commit message follows [commit guidelines](https://github.com/gitcoinco/web/blob/master/docs/CONTRIBUTING.md#step-4-commit)\r\n\r\n##### Affected core subsystem(s)\r\n\r\nDoes not affect core subsystems.\r\n\r\n##### Refers/Fixes\r\n\r\nFixes: https://github.com/gitcoinco/web/issues/2150.\r\n"},"comment":{"url":"https://api.github.com/repos/gitcoinco/web/issues/comments/426452923","html_url":"https://github.com/gitcoinco/web/pull/2321#issuecomment-426452923","issue_url":"https://api.github.com/repos/gitcoinco/web/issues/2321","id":426452923,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQ1MjkyMw==","user":{"login":"mbeacom","id":7315957,"node_id":"MDQ6VXNlcjczMTU5NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7315957?v=4","gravatar_id":"","url":"https://api.github.com/users/mbeacom","html_url":"https://github.com/mbeacom","followers_url":"https://api.github.com/users/mbeacom/followers","following_url":"https://api.github.com/users/mbeacom/following{/other_user}","gists_url":"https://api.github.com/users/mbeacom/gists{/gist_id}","starred_url":"https://api.github.com/users/mbeacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbeacom/subscriptions","organizations_url":"https://api.github.com/users/mbeacom/orgs","repos_url":"https://api.github.com/users/mbeacom/repos","events_url":"https://api.github.com/users/mbeacom/events{/privacy}","received_events_url":"https://api.github.com/users/mbeacom/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T22:33:47Z","updated_at":"2018-10-02T22:33:47Z","author_association":"MEMBER","body":"Tested on staging.  LGTM!\r\n\r\n@evgeniuz Thanks for the contribution!  Good to pay out @owocki !"}}
{"actor":{"display_login":"mbeacom"}}