Explorar o código

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

Murderlon hai 11 meses
pai
achega
f3c30be245
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,