Debug script envoi relance fin abonnement prémium
This commit is contained in:
parent
60fdb4d4c2
commit
e4e84a91ed
@ -129,7 +129,7 @@ exports.notifyExpirationAccount= async(req, res, next) =>
|
|||||||
}
|
}
|
||||||
const sendNotification= async (user, mail) =>
|
const sendNotification= async (user, mail) =>
|
||||||
{
|
{
|
||||||
let userInfos=await searchUserById(user.UserId);
|
let userInfos=await userCtrl.searchUserById(user.UserId);
|
||||||
if(userInfos && userInfos.User.status=="user")
|
if(userInfos && userInfos.User.status=="user")
|
||||||
{
|
{
|
||||||
const mapMail =
|
const mapMail =
|
||||||
|
Loading…
Reference in New Issue
Block a user