From 33b006d00eb766ee5cae979041a8b95ee1bd94df Mon Sep 17 00:00:00 2001 From: Camila Espinoza <56554983+cami-espinozaq@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:42:18 +0100 Subject: [PATCH] Update project-save-hoc.jsx - bad error msg --- src/lib/project-save-hoc.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/project-save-hoc.jsx b/src/lib/project-save-hoc.jsx index 2ff35438..33d34955 100644 --- a/src/lib/project-save-hoc.jsx +++ b/src/lib/project-save-hoc.jsx @@ -114,7 +114,7 @@ const ProjectSaveHOC = (WrappedComponent) => { console.log("save assets res", res) if (!res.ok && res.status !== 409) { - throw new Error(`uploading an asset failed: ${asset.filename}`) + throw new Error(`uploading an asset failed: ${asset.fileName}`) } const body = await res.json()