- aggiungo campo "sfuso"
- aggiunto totale al carrello
This commit is contained in:
@@ -712,7 +712,7 @@ const MyTelegramBot = {
|
||||
arrTeleg = appTelegram;
|
||||
}
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
arrTeleg = appTelegram_DEVELOP;
|
||||
arrTeleg = MyTelegramBot.getAppTelegramDevelop();
|
||||
} else if (process.env.NODE_ENV === 'test') {
|
||||
arrTeleg = MyTelegramBot.getAppTelegramTest();
|
||||
} else {
|
||||
@@ -736,6 +736,15 @@ const MyTelegramBot = {
|
||||
|
||||
},
|
||||
|
||||
getAppTelegramDevelop: function () {
|
||||
if (process.env.appTelegram_TEST) {
|
||||
return JSON.parse(process.env.appTelegram_TEST);
|
||||
} else {
|
||||
return appTelegram_DEVELOP;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
local_sendMsgTelegramByIdTelegram: async function (idapp, idtelegram, text,
|
||||
message_id, chat_id, ripr_menuPrec,
|
||||
MyForm = null) {
|
||||
|
||||
Reference in New Issue
Block a user