Skip to content

Commit

Permalink
fix(apis): fix due to lou change 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Mar 20, 2020
1 parent ee88134 commit c32a484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apis/services/apis.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ exports.load = async (api) => {
// request
const request = await montaineRequest.request(api, params);
result.request = request;
result.result = request.data;
result.result = request.data.result;
// Mapping
if (result.result && api.mapping && api.mapping !== '') {
result.mapping = montaineMap.map(result.result, JSON.parse(api.mapping));
Expand Down

0 comments on commit c32a484

Please sign in to comment.