This commit is contained in:
_Bastler
2022-01-26 12:44:08 +01:00
parent 31f6847b53
commit e3b58a0d56
23 changed files with 131 additions and 94 deletions
+1 -3
View File
@@ -360,7 +360,6 @@ class ConnectionManager {
}
async getWorlds() {
const token = localUserStore.getAuthToken();
if (!token) {
throw new Error("No token provided");
@@ -368,8 +367,7 @@ class ConnectionManager {
const { worlds } = await Axios.get(`${PUSHER_URL}/worlds`, { params: { token } }).then((res) => {
return res.data;
}
);
});
return worlds;
}