From de8cf31c063c6eb2a0aa6803d20b3720155d5a2d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 16 Oct 2024 02:53:15 +0200 Subject: [PATCH] Update contributor-dashboard-legacy/src/pages/SizeComparison.tsx Co-authored-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> Signed-off-by: Olivier Tassinari --- contributor-dashboard-legacy/src/pages/SizeComparison.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributor-dashboard-legacy/src/pages/SizeComparison.tsx b/contributor-dashboard-legacy/src/pages/SizeComparison.tsx index 91e2772..cb201b9 100644 --- a/contributor-dashboard-legacy/src/pages/SizeComparison.tsx +++ b/contributor-dashboard-legacy/src/pages/SizeComparison.tsx @@ -27,7 +27,7 @@ async function fetchSizeSnapshotCircleCI( buildNumber: number, ): Promise { const response = await fetch( - `/.netlify/functions/circle-ci-artifacts?buildNumber=${buildNumber}`, + `/.netlify/functions/circle-ci-artifacts?buildNumber=${encodeURIComponent(buildNumber)}`, ); const body: CircleCIApiArtifacts = await response.json();