Skip to content

Commit

Permalink
feat(apis): rework result ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Mar 17, 2020
1 parent a2676e3 commit 6155968
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 @@ -116,7 +116,7 @@ exports.load = async (api) => {
result.prepare = montaineSave.prepare(result.result, start);
result.mongo = montaineSave.save(result.prepare, start);
result.result = result.mongo;
await ApisRepository.import(_.camelCase(api.title), result.result);
result.result = await ApisRepository.import(_.camelCase(api.title), result.result);
}

const history = await HistoryRepository.create(montaineRequest.setScrapHistory(result.request, api, start));
Expand Down

0 comments on commit 6155968

Please sign in to comment.