Skip to content

Commit

Permalink
fixup! @uppy/tus: fix no headers passed to companion if argument is a…
Browse files Browse the repository at this point in the history
… function (#5182)
  • Loading branch information
Murderlon committed May 21, 2024
1 parent a57bf8f commit f3c30be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/tus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ export default class Tus<M extends Meta, B extends Body> extends BasePlugin<

if (typeof opts.headers === 'function') {
opts.headers = opts.headers(file)
}
}

return {
...file.remote?.body,
Expand Down

0 comments on commit f3c30be

Please sign in to comment.