Skip to content

Conversation

@jagadish-7
Copy link

@jagadish-7 jagadish-7 commented Nov 20, 2025

Issue #1399 — Company logo not uploading

Cause

  • singleStorageUpload() was incorrectly wrapped in catchErrors(), which only works with async controllers.
  • multerStorage is not async and does not return a Promise, causing: "Cannot read properties of undefined (reading 'catch')".

Fix

  • Removed catchErrors() wrapper from singleStorageUpload().
  • Added an error notification when no logo is selected.

Solution Video

https://www.loom.com/share/c8f63cbc0be348128cdd9d42597af98d

Question

  • Where should the logo to be displayed after a successful save?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant