- fix link bot for Test Envinroment

- If invite not exist, error message
This commit is contained in:
paoloar77
2022-02-09 19:47:40 +01:00
parent b702492ec4
commit b4ad353aef
25 changed files with 67 additions and 34 deletions

View File

@@ -47,7 +47,11 @@ export default defineComponent({
}
function getLinkBotTelegram(): string {
return getValDb('TELEG_BOT_LINK', false)
if (tools.isTest() && !process.env.DEV) {
return getValDb('TELEG_BOT_LINK_TEST', false)
} else{
return getValDb('TELEG_BOT_LINK', false)
}
}
return {