Skip to content

Commit

Permalink
Merge pull request #2 from edx/djoy/travis_test
Browse files Browse the repository at this point in the history
Travis, you there?
  • Loading branch information
davidjoy authored Apr 24, 2019
2 parents efec10b + b5958e0 commit 5b636f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
frontend-app-account
=========================

Please tag **@edx/arch-team** on any PRs or issues. Thanks.
Please tag **@edx/arch-team** on any PRs or issues.

Introduction
------------
Expand Down
8 changes: 4 additions & 4 deletions src/example/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let config = {
LMS_BASE_URL: null,
};

let apiClient = null;
let apiClient = null; // eslint-disable-line

function validateConfiguration(newConfig) {
Object.keys(config).forEach((key) => {
Expand All @@ -23,10 +23,10 @@ export function configureApiService(newConfig, newApiClient) {
}

export async function getData(data) {
//const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, {
return new Promise((resolve, reject) => {
// const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, {
return new Promise((resolve) => {
setTimeout(() => {
resolve(data);
}, 2000);
});;
});
}

0 comments on commit 5b636f2

Please sign in to comment.