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

Env fix for sandbox and prod APIs #90

Merged
merged 4 commits into from
Sep 23, 2020
Merged

Env fix for sandbox and prod APIs #90

merged 4 commits into from
Sep 23, 2020

Conversation

manuelgeek
Copy link
Member

Cause
The wrapper checks for Mix.env() to determine the API to hit, either sandbox or production. However, all dependencies are compiled as :prod hence the wrapper all hit the :prod endpoint.

Solution
Removed the force-liveurlkwy and addedsandboxkey to theat_ex` configs. The key is a boolean to determine whether the keys added are for sandbox or live.

Re read on the README configs to understand better

@kamalogudah
Copy link
Collaborator

LGTM

@kamalogudah kamalogudah merged commit 5239f85 into master Sep 23, 2020
Copy link
Collaborator

@kamalogudah kamalogudah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Successfully merging this pull request may close these issues.

2 participants