Circuits...
Circuits Fido e Max Qta Fixed error eslint: 7.0.0 is OK
This commit is contained in:
@@ -369,7 +369,7 @@ module.exports = {
|
||||
if (params.sendreally) {
|
||||
if (tools.isBitActive(params.typesend, shared_consts.TypeSend.PUSH_NOTIFICATION)) {
|
||||
const myparam = {...params};
|
||||
risult = tools.sendNotificationToUser(user._id, mytitle, mycontent, myparam.openUrl, myparam.openUrl2, myparam.tag,
|
||||
risult = await tools.sendNotificationToUser(user._id, mytitle, mycontent, myparam.openUrl, myparam.openUrl2, myparam.tag,
|
||||
myparam.actions, myparam.id).
|
||||
then(ris => {
|
||||
|
||||
@@ -420,7 +420,7 @@ module.exports = {
|
||||
params.sendreally = true;
|
||||
params.typesend = shared_consts.TypeSend.PUSH_NOTIFICATION;
|
||||
|
||||
return this.SendMsgToParam(idapp, params);
|
||||
return await this.SendMsgToParam(idapp, params);
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user