pangea-server 3.3.153 → 3.3.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -102,6 +102,7 @@ class FileStorage {
|
|
|
102
102
|
exports.FileStorage = FileStorage;
|
|
103
103
|
// internal functions
|
|
104
104
|
function getGeneralUploadParams(config) {
|
|
105
|
+
console.log(config.fileType);
|
|
105
106
|
const extension = mimeExtensions[config.fileType];
|
|
106
107
|
const suffix = extension ? `.${extension}` : '';
|
|
107
108
|
const fileName = `${config.folder}/${(0, random_helpers_1.getRandomString)('short')}${suffix}`;
|