Browse Source

fixup! @uppy/tus: fix no headers passed to companion if argument is a function (#5182)

Murderlon 11 tháng trước cách đây
mục cha
commit
f3c30be245
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/@uppy/tus/src/index.ts

+ 1 - 1
packages/@uppy/tus/src/index.ts

@@ -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,