From 0b857383322807760885846c588f9c31e40721a5 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Sat, 4 Jan 2025 03:05:27 +0300 Subject: [PATCH] debug --- resources/main/js/tg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/main/js/tg.js b/resources/main/js/tg.js index cb0e089..bd49aa0 100644 --- a/resources/main/js/tg.js +++ b/resources/main/js/tg.js @@ -3,7 +3,7 @@ document.addEventListener("DOMContentLoaded", () => { let username_tag = document.getElementById("username_tag") let user_id_tag = document.getElementById("user_id_tag") username_tag.innerHTML = tg.initDataUnsafe.user.username; - user_id_tag.innerHTML = tg.initDataUnsafe.receiver.id; + user_id_tag.innerHTML = tg.initDataUnsafe.user.language_code; - console.log(tg.initDataUnsafe.user) + console.log(123) }); \ No newline at end of file