Skip to content

Commit

Permalink
Fix assignment of xhrFields.
Browse files Browse the repository at this point in the history
  • Loading branch information
yogi111 committed Jun 24, 2024
1 parent b0f8963 commit 0303fe9
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 0303fe9

Please sign in to comment.