From 2fba2c8f6376c17fac037c0eb4727c219620e8c3 Mon Sep 17 00:00:00 2001 From: Pierre Brisorgueil Date: Wed, 22 Apr 2020 11:30:02 +0200 Subject: [PATCH] =?UTF-8?q?feat(helpers):=20init=20mail=20alert=20?= =?UTF-8?q?=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/helpers/montaineRequest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/helpers/montaineRequest.js b/lib/helpers/montaineRequest.js index ff54415bf..453632c42 100644 --- a/lib/helpers/montaineRequest.js +++ b/lib/helpers/montaineRequest.js @@ -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({ @@ -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) => ({