Cleaning commented code
This commit is contained in:
@@ -249,10 +249,6 @@ export class AuthenticateController extends BaseHttpController {
|
||||
* type: string
|
||||
* description: TODO- unclear. I cannot find any use of this
|
||||
* example: ???
|
||||
* textures:
|
||||
* type: string
|
||||
* description: TODO - document this is still needed
|
||||
* example: ???
|
||||
* messages:
|
||||
* type: array
|
||||
* description: The list of messages to be displayed when the user logs?
|
||||
@@ -397,7 +393,7 @@ export class AuthenticateController extends BaseHttpController {
|
||||
userRoomToken: undefined,
|
||||
};
|
||||
try {
|
||||
data = await adminApi.fetchMemberDataByUuid(email, playUri, IPAddress, characterLayers);
|
||||
data = await adminApi.fetchMemberDataByUuid(email, playUri, IPAddress, []);
|
||||
} catch (err) {
|
||||
console.error("openIDCallback => fetchMemberDataByUuid", err);
|
||||
}
|
||||
|
||||
@@ -297,7 +297,12 @@ export class IoSocketController {
|
||||
if (ADMIN_API_URL) {
|
||||
try {
|
||||
try {
|
||||
userData = await adminApi.fetchMemberDataByUuid(userIdentifier, roomId, IPAddress, characterLayers);
|
||||
userData = await adminApi.fetchMemberDataByUuid(
|
||||
userIdentifier,
|
||||
roomId,
|
||||
IPAddress,
|
||||
characterLayers
|
||||
);
|
||||
} catch (err) {
|
||||
if (Axios.isAxiosError(err)) {
|
||||
if (err?.response?.status == 404) {
|
||||
|
||||
@@ -59,14 +59,6 @@ export class MapController extends BaseHttpController {
|
||||
* items:
|
||||
* type: string
|
||||
* example: speaker
|
||||
* textures:
|
||||
* type: array
|
||||
* description: The list of public textures for this map (TODO remove this)
|
||||
* items:
|
||||
* type: object
|
||||
* properties:
|
||||
* todo:
|
||||
* type: string
|
||||
* authenticationMandatory:
|
||||
* type: boolean|null
|
||||
* description: Whether the authentication is mandatory or not for this map.
|
||||
@@ -126,7 +118,6 @@ export class MapController extends BaseHttpController {
|
||||
roomSlug: null, // Deprecated
|
||||
group: null,
|
||||
tags: [],
|
||||
textures: [],
|
||||
contactPage: null,
|
||||
authenticationMandatory: DISABLE_ANONYMOUS,
|
||||
} as MapDetailsData);
|
||||
|
||||
Reference in New Issue
Block a user