fix(broker): correct bot username claudemeshbot (no underscore)
Some checks failed
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled
CI / Lint (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-09 11:08:00 +01:00
parent 0a1af84712
commit ac59d2acfe

View File

@@ -650,7 +650,7 @@ function handleHttpRequest(req: IncomingMessage, res: ServerResponse): void {
{ meshId: tgMeshId, meshSlug, memberId: tgMemberId, pubkey: tgPubkey, secretKey: tgSecretKey, createdBy: tgMemberId },
encKey,
);
const botUsername = process.env.TELEGRAM_BOT_USERNAME ?? "claudemesh_bot";
const botUsername = process.env.TELEGRAM_BOT_USERNAME ?? "claudemeshbot";
const deepLink = generateDeepLink(token, botUsername);
writeJson(res, 200, { token, deepLink });
log.info("tg/token", { route: "POST /tg/token", mesh_id: tgMeshId, latency_ms: Date.now() - started });