Migrate getCurrentUser() to WA.player (#1279)

This commit is contained in:
GRL78
2021-07-13 15:13:14 +02:00
committed by GitHub
parent 41a1f56bd5
commit b2ea368097
6 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
</head>
<body>
<script>
WA.room.getCurrentUser().then((user) => {
WA.player.getCurrentUser().then((user) => {
console.log('id : ', user.id);
console.log('nickName : ', user.nickName);
console.log('tags : ', user.tags);