Skip to content

Commit

Permalink
Merge pull request #15 from edx/jlajoie/fix-service
Browse files Browse the repository at this point in the history
fix: updates non-existent authBaseUrl to env var LMS_BASE_URL
  • Loading branch information
Jeff LaJoie committed Aug 10, 2020
2 parents aaea448 + 8892ef1 commit 85e9316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fetchEnterpriseCustomers = apiClient => apiClient.get(`${apiClient.authBaseUrl}/enterprise/api/v1/enterprise-customer/`);
const fetchEnterpriseCustomers = apiClient => apiClient.get(`${process.env.LMS_BASE_URL}/enterprise/api/v1/enterprise-customer/`);

// eslint-disable-next-line import/prefer-default-export
export { fetchEnterpriseCustomers };

0 comments on commit 85e9316

Please sign in to comment.