{"action":"created","issue":{"url":"https://api.github.com/repos/yeller/yeller_clojure/issues/4","labels_url":"https://api.github.com/repos/yeller/yeller_clojure/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/yeller/yeller_clojure/issues/4/comments","events_url":"https://api.github.com/repos/yeller/yeller_clojure/issues/4/events","html_url":"https://github.com/yeller/yeller_clojure/issues/4","id":113005546,"number":4,"title":":environment ignored when creating a new client?","user":{"login":"pupeno","id":8425,"avatar_url":"https://avatars.githubusercontent.com/u/8425?v=3","gravatar_id":"","url":"https://api.github.com/users/pupeno","html_url":"https://github.com/pupeno","followers_url":"https://api.github.com/users/pupeno/followers","following_url":"https://api.github.com/users/pupeno/following{/other_user}","gists_url":"https://api.github.com/users/pupeno/gists{/gist_id}","starred_url":"https://api.github.com/users/pupeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pupeno/subscriptions","organizations_url":"https://api.github.com/users/pupeno/orgs","repos_url":"https://api.github.com/users/pupeno/repos","events_url":"https://api.github.com/users/pupeno/events{/privacy}","received_events_url":"https://api.github.com/users/pupeno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T11:57:31Z","updated_at":"2015-10-23T11:59:28Z","closed_at":null,"body":"I noticed my :environment is ignored when I create a new client in this way:\r\n\r\n```clojure\r\n(def yeller-client (yeller/client {:token       (:yeller-token env)\r\n                                   :environment (:environment env)}))\r\n```\r\n\r\nLooking at the code, I cannot see :environment ever being inspected: https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L135-L167"},"comment":{"url":"https://api.github.com/repos/yeller/yeller_clojure/issues/comments/150553131","html_url":"https://github.com/yeller/yeller_clojure/issues/4#issuecomment-150553131","issue_url":"https://api.github.com/repos/yeller/yeller_clojure/issues/4","id":150553131,"user":{"login":"yellerbot","id":8397860,"avatar_url":"https://avatars.githubusercontent.com/u/8397860?v=3","gravatar_id":"","url":"https://api.github.com/users/yellerbot","html_url":"https://github.com/yellerbot","followers_url":"https://api.github.com/users/yellerbot/followers","following_url":"https://api.github.com/users/yellerbot/following{/other_user}","gists_url":"https://api.github.com/users/yellerbot/gists{/gist_id}","starred_url":"https://api.github.com/users/yellerbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellerbot/subscriptions","organizations_url":"https://api.github.com/users/yellerbot/orgs","repos_url":"https://api.github.com/users/yellerbot/repos","events_url":"https://api.github.com/users/yellerbot/events{/privacy}","received_events_url":"https://api.github.com/users/yellerbot/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T11:59:28Z","updated_at":"2015-10-23T11:59:28Z","body":"Hi,\n\nThat happens here:\nhttps://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L105,\ncalled from\nhttps://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L166\n\nThis was a bug in older versions of the client (https://github.com/yell-\ner/yeller_clojure/commit/f2efea10a3bf7255065d856cafe16cd59e42e90b was\nthe commit that fixed it), so bumping your client version should fix\nthis problem.\n\nThanks\n\nTom\n\n\nOn Fri, Oct 23, 2015, at 12:57 PM, J. Pablo Fernández wrote:\n> I noticed my :environment is ignored when I create a new client in\n> this way:\n\n\n> (def yeller-client (yeller/client {:token       (:yeller-token env)\n                                   :environment (:environment env)}))\n> Looking at the code, I cannot see :environment ever being inspected:\n> https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L135-L167\n\n\n> — Reply to this email directly or view it on GitHub[1].\n\n\n>\n\n\n\nLinks:\n\n  1. https://github.com/yeller/yeller_clojure/issues/4\n"}}