Skip to content

Commit 33b006d

Browse files
Update project-save-hoc.jsx - bad error msg
1 parent 8e9676c commit 33b006d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/project-save-hoc.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const ProjectSaveHOC = (WrappedComponent) => {
114114
console.log("save assets res", res)
115115

116116
if (!res.ok && res.status !== 409) {
117-
throw new Error(`uploading an asset failed: ${asset.filename}`)
117+
throw new Error(`uploading an asset failed: ${asset.fileName}`)
118118
}
119119

120120
const body = await res.json()

0 commit comments

Comments
 (0)