Togliere "in attesa di abilitazione"

Registrazione rapida (senza dover confermare, un link che scade dopo 48 ore.
This commit is contained in:
paoloar77
2022-11-02 22:32:32 +01:00
parent 83e6f92978
commit 5a3205ebda
15 changed files with 121 additions and 22 deletions

View File

@@ -4311,12 +4311,19 @@ export const tools = {
return false
},
getLinkBotTelegram(): string {
getLinkBotTelegram(aportador_solidario: string, regexpire: string): string {
let mylink = ''
if (this.isTest() && !process.env.DEV) {
return this.getValDb('TELEG_BOT_LINK_TEST', false)
mylink = this.getValDb('TELEG_BOT_LINK_TEST', false)
} else {
return this.getValDb('TELEG_BOT_LINK', false)
mylink = this.getValDb('TELEG_BOT_LINK', false)
}
let add = ''
if (aportador_solidario) {
add = '?start=inv_' + aportador_solidario + '_ex_' + regexpire
}
return mylink + add
},
getBotName(): string {