You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(desktop): fail file upload on non-2xx instead of using the error body as a CID
The file-upload helpers read the daemon response body as the CID without
checking the status. On a failed upload the daemon returns a non-2xx with the
error text in the body, so that text became the CID and got baked into
documents as `ipfs://Failed to add file...`. Guard response.ok in the five
upload paths that lacked it (the other five already did).
0 commit comments