Skip to content

Commit

Permalink
Merge pull request #1468 from yogi111/develop
Browse files Browse the repository at this point in the history
xhr filelds is not being assigned in xhrRequest it was assigning headers.
  • Loading branch information
Alex-D authored Jan 29, 2025
2 parents a4d0d3e + 0303fe9 commit 2877a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/upload/trumbowyg.upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

// Set XHR fields
Object.keys(options.xhrFields).forEach((xhrFieldKey) => {
xhrRequest[xhrFieldKey] = options.headers[xhrFieldKey];
xhrRequest[xhrFieldKey] = options.xhrFields[xhrFieldKey];
});

// Progress
Expand Down

0 comments on commit 2877a62

Please sign in to comment.