aggiornamento visualizzazione Ordini e Carrello

This commit is contained in:
Surya Paolo
2023-12-09 19:38:23 +01:00
parent 023ba26003
commit daacde7455
7 changed files with 68 additions and 32 deletions

View File

@@ -1799,6 +1799,7 @@ module.exports = {
return (myapp) ? this.decryptdata(myapp.email_pwd) : '';
},
getTelegramBotNameByIdApp: function (idapp) {
const myapp = this.MYAPPS.find((item) => item.idapp === idapp);
if (process.env.NODE_ENV === 'test')
@@ -3477,7 +3478,7 @@ module.exports = {
},
decryptdata(mydatacrypted) {
if (mydatacrypted === '')
if (mydatacrypted === '' || mydatacrypted === undefined)
return '';
// Decrypt
// const bytes = CryptoJS.AES.decrypt(mydatacrypted.toString(), process.env.SECRK);