Fix ci
This commit is contained in:
parent
30f4793342
commit
915d945dd5
2 changed files with 8 additions and 11 deletions
|
@ -182,15 +182,15 @@ export class IoSocketController {
|
|||
}*/
|
||||
if (ADMIN_API_URL) {
|
||||
try {
|
||||
let userData = {
|
||||
let userData : FetchMemberDataByUuidResponse = {
|
||||
uuid: v4(),
|
||||
anonymous: true,
|
||||
tags: [],
|
||||
textures: [],
|
||||
messages: [],
|
||||
anonymous: true
|
||||
};
|
||||
try {
|
||||
(userData as FetchMemberDataByUuidResponse) = await adminApi.fetchMemberDataByUuid(userUuid);
|
||||
userData = await adminApi.fetchMemberDataByUuid(userUuid);
|
||||
}catch (err){
|
||||
if (err?.response?.status == 404) {
|
||||
// If we get an HTTP 404, the token is invalid. Let's perform an anonymous login!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue