Change roomId by playUri
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
0e7a52aa58
commit
56fb73c682
@ -144,7 +144,7 @@ class ConnectionManager {
|
|||||||
console.error("Invalid data received from /register route. Data: ", data);
|
console.error("Invalid data received from /register route. Data: ", data);
|
||||||
throw new Error("Invalid data received from /register route.");
|
throw new Error("Invalid data received from /register route.");
|
||||||
}
|
}
|
||||||
this.localUser = new LocalUser(data.userUuid, data.textures, data.email);
|
this.localUser = new LocalUser(data.userUuid, data.email);
|
||||||
this.authToken = data.authToken;
|
this.authToken = data.authToken;
|
||||||
localUserStore.saveUser(this.localUser);
|
localUserStore.saveUser(this.localUser);
|
||||||
localUserStore.setAuthToken(this.authToken);
|
localUserStore.setAuthToken(this.authToken);
|
||||||
|
@ -65,7 +65,7 @@ class AdminApi {
|
|||||||
const res = await Axios.get<unknown, AxiosResponse<unknown>>(ADMIN_API_URL + "/api/room/access", {
|
const res = await Axios.get<unknown, AxiosResponse<unknown>>(ADMIN_API_URL + "/api/room/access", {
|
||||||
params: {
|
params: {
|
||||||
userIdentifier,
|
userIdentifier,
|
||||||
roomId: playUri,
|
playUri,
|
||||||
ipAddress,
|
ipAddress,
|
||||||
characterLayers,
|
characterLayers,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user