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

@adapter Shopify.Config.get(:client_adapter) returning nil #3

Closed
overallduka opened this issue Feb 6, 2017 · 0 comments
Closed

@adapter Shopify.Config.get(:client_adapter) returning nil #3

overallduka opened this issue Feb 6, 2017 · 0 comments

Comments

@overallduka
Copy link
Contributor

overallduka commented Feb 6, 2017

I was trying retrieve access token:

a = Shopify.session(params["shop"]) |> Shopify.OAuth.request_token(params["code"])

but i have the error nil.post undefined so i do search in the library code and see that @adapter Shopify.Config.get(:client_adapter) was returning nil, don`t have sure why, i do an workaround here with code above to continue using until bug fixed:

  @adapter Shopify.Config.get(:client_adapter) || Shopify.Adapters.HTTP
@overallduka overallduka changed the title @adapter Shopify.Config.get(:client_adapter) @adapter Shopify.Config.get(:client_adapter) returning nil Feb 7, 2017
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

2 participants