fix: bot username Chat_n8n_bot → Chat_8n8_bot (правильное имя)

This commit is contained in:
Umbrix Dev
2026-02-09 04:01:49 +03:00
parent f61a029c3a
commit b284d01e14
4 changed files with 8 additions and 8 deletions

View File

@@ -120,7 +120,7 @@ export default function Dashboard() {
};
const shareReferralLink = async () => {
const botUsername = process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot';
const botUsername = process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot';
const referralUrl = `https://t.me/${botUsername}?start=ref_${username}`;
const telegramWebApp = (window as any).Telegram?.WebApp;
@@ -287,9 +287,9 @@ export default function Dashboard() {
<ReferralModal
isOpen={isReferralOpen}
onClose={() => setIsReferralOpen(false)}
referralUrl={`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot'}?start=ref_${username}`}
referralUrl={`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot'}?start=ref_${username}`}
onShare={shareReferralLink}
onCopy={() => copyToClipboard(`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot'}?start=ref_${username}`)}
onCopy={() => copyToClipboard(`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot'}?start=ref_${username}`)}
/>
)}