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()