Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:environment ignored when creating a new client? #4

Open
pupeno opened this issue Oct 23, 2015 · 2 comments
Open

:environment ignored when creating a new client? #4

pupeno opened this issue Oct 23, 2015 · 2 comments

Comments

@pupeno
Copy link

pupeno commented Oct 23, 2015

I noticed my :environment is ignored when I create a new client in this way:

(def yeller-client (yeller/client {:token       (:yeller-token env)
                                   :environment (:environment env)}))

Looking 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

@yellerbot
Copy link

Hi,

That happens here:
https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L105,
called from
https://github.com/yeller/yeller_clojure/blob/master/src/yeller/clojure/client.clj#L166

This was a bug in older versions of the client (f2efea10a3bf7255065d856cafe16cd59e42e90b was
the commit that fixed it), so bumping your client version should fix
this problem.

Thanks

Tom

On Fri, Oct 23, 2015, at 12:57 PM, J. Pablo Fernández wrote:

I noticed my :environment is ignored when I create a new client in
this way:

(def yeller-client (yeller/client {:token (:yeller-token env)
:environment (:environment env)}))
Looking 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

— Reply to this email directly or view it on GitHub[1].

Links:

  1. :environment ignored when creating a new client? #4

@ku1ik
Copy link

ku1ik commented Mar 25, 2016

Would be nice to update the installation instructions within the app, which say to use version 1.2.1 (which has this bug). I wasted an hour until I realized that there is newer version on clojars (I expected the instructions to be up to date).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants