Gaëtan Renaudeau
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
src/reducers/currenciesStatus.js
|
@ -37,7 +37,9 @@ export const fetchCurrenciesStatus = () => async (dispatch: *) => { |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
url: process.env.LL_STATUS_ENDPOINT || urls.currenciesStatus, |
|
|
url: process.env.LL_STATUS_ENDPOINT || urls.currenciesStatus, |
|
|
}) |
|
|
}) |
|
|
dispatch(setCurrenciesStatus(data)) |
|
|
if (Array.isArray(data)) { |
|
|
|
|
|
dispatch(setCurrenciesStatus(data)) |
|
|
|
|
|
} |
|
|
} catch (err) { |
|
|
} catch (err) { |
|
|
logger.error(err) |
|
|
logger.error(err) |
|
|
} |
|
|
} |
|
|