Skip to content

Commit b5958e0

Browse files
author
David Joy
committed
Fixing linting errors. Travis works!
1 parent 977da4e commit b5958e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/example/service.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let config = {
66
LMS_BASE_URL: null,
77
};
88

9-
let apiClient = null;
9+
let apiClient = null; // eslint-disable-line
1010

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

2525
export async function getData(data) {
26-
//const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, {
27-
return new Promise((resolve, reject) => {
26+
// const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, {
27+
return new Promise((resolve) => {
2828
setTimeout(() => {
2929
resolve(data);
3030
}, 2000);
31-
});;
31+
});
3232
}

0 commit comments

Comments
 (0)