浏览代码

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

Murderlon 11 月之前
父节点
当前提交
f3c30be245
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,