From dae649fe656eedb22c31796aafdfab841f91dd23 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Sat, 4 Jan 2025 02:59:02 +0300 Subject: [PATCH] debug --- resources/main/js/tg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/main/js/tg.js b/resources/main/js/tg.js index c03a1b3..b18f7ba 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.id; + user_id_tag.innerHTML = tg.initDataUnsafe.user.id; console.log(tg.initDataUnsafe.user) }); \ No newline at end of file