fix: use telegram user id for pairing request
This commit is contained in:
parent
24fbafa9a7
commit
633f848481
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ export const buildTelegramMessageContext = async ({
|
|||
const telegramUserId = from?.id ? String(from.id) : candidate;
|
||||
const { code, created } = await upsertChannelPairingRequest({
|
||||
channel: "telegram",
|
||||
id: String(candidate),
|
||||
id: telegramUserId,
|
||||
meta: {
|
||||
username: from?.username,
|
||||
firstName: from?.first_name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue