Debug script envoi relance fin abonnement prémium

This commit is contained in:
Fabrice PENHOËT 2020-09-15 11:34:10 +02:00
parent 60fdb4d4c2
commit e4e84a91ed
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ exports.notifyExpirationAccount= async(req, res, next) =>
}
const sendNotification= async (user, mail) =>
{
let userInfos=await searchUserById(user.UserId);
let userInfos=await userCtrl.searchUserById(user.UserId);
if(userInfos && userInfos.User.status=="user")
{
const mapMail =