From 93550e92309299864262126bcd389144e9db7586 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Mon, 22 Sep 2025 14:42:36 +0900 Subject: [PATCH] ensure numbers in records are integers --- actions/publishToPublication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/publishToPublication.ts b/actions/publishToPublication.ts index 9cf90b77..6dbe5a23 100644 --- a/actions/publishToPublication.ts +++ b/actions/publishToPublication.ts @@ -298,7 +298,7 @@ function blockToRecord( let block: $Typed = { $type: "pub.leaflet.blocks.iframe", url: url.data.value, - height: height?.data.value || 600, + height: Math.floor(height?.data.value || 600), }; return block; } -- 2.51.2