From 36e74691cf716bcc2e203ea18db3240c034b6c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gr=C3=A9goire=20parant?= Date: Wed, 11 May 2022 18:03:47 +0200 Subject: [PATCH] Change map details params (#2192) * HotFix showPoweredBy optional paramter Signed-off-by: Gregoire Parant * Add nullable option of showPoweredBy Signed-off-by: Gregoire Parant --- messages/JsonMessages/MapDetailsData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/JsonMessages/MapDetailsData.ts b/messages/JsonMessages/MapDetailsData.ts index 51cb7187..7c3ca5f4 100644 --- a/messages/JsonMessages/MapDetailsData.ts +++ b/messages/JsonMessages/MapDetailsData.ts @@ -54,7 +54,7 @@ export const isMapDetailsData = z.object({ description: "The URL of the image to be used on the LoginScene", example: "https://example.com/logo_login.png", }), - showPoweredBy: extendApi(z.boolean(), { + showPoweredBy: extendApi(z.optional(z.nullable(z.boolean())), { description: "The URL of the image to be used on the name scene", example: "https://example.com/logo_login.png", }),