Nicholas Brown
Nicholas Brown
I don't have much experience with JavaScript but it appears to be having issues in the createFoldersIfrMissing function. The pert in particular seems to be "const targetLocation = game.settings.get("dragupload", "fileUploadFolder");"...
Okay so I found a way to fix it as long as you don't use the amazon storage option. I've edited the module a bit so I can understand it...
You can also replace the commented out area with the following: let bucketChoices = {}; try{ const buckets = await FilePicker.browse("s3", ""); if(buckets) { for ( let bucket of buckets.dirs)...