fix front
This commit is contained in:
parent
93fbc47c5e
commit
1d6c36d877
@ -363,7 +363,7 @@ class ConnectionManager {
|
|||||||
|
|
||||||
const token = localUserStore.getAuthToken();
|
const token = localUserStore.getAuthToken();
|
||||||
if (!token) {
|
if (!token) {
|
||||||
throw "No token provided";
|
throw new Error("No token provided");
|
||||||
}
|
}
|
||||||
|
|
||||||
const { worlds } = await Axios.get(`${PUSHER_URL}/worlds`, { params: { token } }).then((res) => {
|
const { worlds } = await Axios.get(`${PUSHER_URL}/worlds`, { params: { token } }).then((res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user