HotFix conflict merging

This commit is contained in:
Gregoire Parant 2021-11-15 16:36:10 +01:00
parent 20164417fb
commit d3964ae25b

View File

@ -111,7 +111,7 @@ class ConnectionManager {
this._currentRoom = await Room.createRoom(new URL(localUserStore.getLastRoomUrl()));
try {
await this.checkAuthUserConnexion(this._currentRoom.key);
await this.checkAuthUserConnexion();
analyticsClient.loggedWithSso();
} catch (err) {
console.error(err);
@ -296,7 +296,7 @@ class ConnectionManager {
return this.connexionType;
}
async checkAuthUserConnexion(playUri: string) {
async checkAuthUserConnexion() {
//set connected store for menu at false
userIsConnected.set(false);
@ -313,9 +313,9 @@ class ConnectionManager {
throw "No Auth code provided";
}
}
const { authToken, userUuid, textures, email } = await Axios.get(`${PUSHER_URL}/login-callback`, { params: { code, nonce, token } }).then(
(res) => res.data
);
const { authToken, userUuid, textures, email } = await Axios.get(`${PUSHER_URL}/login-callback`, {
params: { code, nonce, token },
}).then((res) => res.data);
localUserStore.setAuthToken(authToken);
this.localUser = new LocalUser(userUuid, textures, email);
localUserStore.saveUser(this.localUser);