From 183a62627c529708b0f7c71bebe6f5431b710463 Mon Sep 17 00:00:00 2001 From: Panayiotis Lipiridis Date: Mon, 20 Jan 2020 21:38:51 +0200 Subject: [PATCH] id --- src/scene/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/data.ts b/src/scene/data.ts index b68563da..0db34f30 100644 --- a/src/scene/data.ts +++ b/src/scene/data.ts @@ -187,7 +187,7 @@ export async function exportToBackend( const json = await response.json(); if (json.id) { const url = new URL(window.location.href); - url.searchParams.append("json", json.id); + url.searchParams.append("id", json.id); await navigator.clipboard.writeText(url.toString()); window.alert(`Copied to clipboard: ${url.toString()}`);