From 634a655b5f97afa292bbb2b533ed1eaddee13727 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Wed, 25 Jan 2023 16:16:40 +0100 Subject: [PATCH] Trim superfluous ( in BinData notation --- frontend/src/components/objectgrid.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/objectgrid.svelte b/frontend/src/components/objectgrid.svelte index 7600241..136636b 100644 --- a/frontend/src/components/objectgrid.svelte +++ b/frontend/src/components/objectgrid.svelte @@ -77,7 +77,7 @@ value = value.slice(7, -1); } else if (value.startsWith('Binary(Buffer.from(')) { - value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(18, -1)}`; + value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(19, -1)}`; } } else if (isDate(value)) {