Skip to content

Commit

Permalink
feat(helpers): init mail alert ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Apr 22, 2020
1 parent 8918641 commit 2fba2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helpers/montaineRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports.request = async (api, params) => {

/**
* @desc send mail alert
* @param {Object} data - scraping result
* @param {Object} data - api result
* @return {Object} mail status
*/
exports.sendMailAlert = (data, api) => mails.sendMail({
Expand All @@ -95,7 +95,7 @@ exports.sendMailAlert = (data, api) => mails.sendMail({

/**
* @desc setScrapHistory
* @param {Object} data - scraping result
* @param {Object} data - api result
* @return {Object} mail status
*/
exports.setApiHistory = (result, start, user, api) => ({
Expand Down

0 comments on commit 2fba2c8

Please sign in to comment.