Renée Kooi 6 years ago
parent
commit
db49bfbec2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/@uppy/transloadit/src/index.js

+ 2 - 0
packages/@uppy/transloadit/src/index.js

@@ -71,6 +71,8 @@ module.exports = class Transloadit extends Plugin {
     if (this.opts.params) {
       AssemblyOptions.validateParams(this.opts.params)
     } else if (!hasCustomAssemblyOptions) {
+      // Throw the same error that we'd throw if the `params` returned from a
+      // `getAssemblyOptions()` function is null.
       AssemblyOptions.validateParams(null)
     }