From 4487e9af8aa5530d9b0d3fca0b47f8fecfd0d1cd Mon Sep 17 00:00:00 2001 From: Lipis Date: Mon, 20 Jan 2020 20:11:03 +0200 Subject: [PATCH] Switch hashes to smaller IDs for the backend (#474) * Update backend * log --- src/components/ExportDialog.tsx | 1 + src/scene/data.ts | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/ExportDialog.tsx b/src/components/ExportDialog.tsx index 7a327b0c..36dc587f 100644 --- a/src/components/ExportDialog.tsx +++ b/src/components/ExportDialog.tsx @@ -141,6 +141,7 @@ export function ExportDialog({ {scales.map(s => ( + const response = await fetch(`${BACKEND_GET}${id}.json`).then(data => data.clone().json() ); if (response != null) {