debug
This commit is contained in:
parent
cba447015c
commit
3a36554034
@ -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.user.id;
|
||||
user_id_tag.innerHTML = Telegram.WebApp.initDataUnsafe.userId;
|
||||
|
||||
console.log(tg.initDataUnsafe.user)
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user