fix: uppy requires a type

This commit is contained in:
Derrick Hammer 2024-03-18 12:36:58 -04:00
parent 7e78f17937
commit 756a505590
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ export default class UppyFileUpload extends BasePlugin {
constructor(uppy: Uppy, opts?: UppyFileUploadOptions) {
super(uppy, opts);
this.id = opts?.id || 'file-upload';
this.type = 'uploader';
this._sdk = opts?.sdk as Sdk;
}