Fixing new MapDetails type guard

It was working improperly with messages from the admin
This commit is contained in:
David Négrier 2021-12-21 11:24:05 +01:00
parent e220bf56db
commit e660e25616
2 changed files with 5 additions and 5 deletions

View file

@ -59,11 +59,11 @@ export class MapController extends BaseController {
JSON.stringify({
mapUrl,
policy_type: GameRoomPolicyTypes.ANONYMOUS_POLICY,
roomSlug: "", // Deprecated
roomSlug: null, // Deprecated
group: null,
tags: [],
textures: [],
contactPage: undefined,
contactPage: null,
authenticationMandatory: DISABLE_ANONYMOUS,
} as MapDetailsData)
);