Skip to content

Commit

Permalink
Fixed errors when renaming attachments (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaagul authored Mar 4, 2024
1 parent ca7adbc commit f19ebe1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Attachments/Attachment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ const Attachment = ({
const payload = { blob: { filename: newFilename } };

const {
blob: { filename },
data: {
blob: { filename },
},
} = await directUploadsApi.update({
signedId,
payload,
Expand Down

0 comments on commit f19ebe1

Please sign in to comment.