tmp
This commit is contained in:
@@ -134,7 +134,7 @@ export default class WebSocketServerManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getUserInfo(token, userId) {
|
async getUserInfo(token, userId) {
|
||||||
if (!token || !userId) return null;
|
if (!token && !userId) return null;
|
||||||
|
|
||||||
const url = "http://127.0.0.1:9010/user/userInfo";
|
const url = "http://127.0.0.1:9010/user/userInfo";
|
||||||
const res = await fetch(url, {
|
const res = await fetch(url, {
|
||||||
|
|||||||
Reference in New Issue
Block a user