diff --git a/resources/main/js/tg.js b/resources/main/js/tg.js index 2614fc7..727e307 100644 --- a/resources/main/js/tg.js +++ b/resources/main/js/tg.js @@ -2,7 +2,7 @@ document.addEventListener("DOMContentLoaded", () => { let tg = window.Telegram.WebAppUser; 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.user.language_code; console.log(123)