@xuda.io/drive_module 1.1.1208 → 1.1.1209
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.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -962,7 +962,8 @@ exports.extract_drive_file = async function (req, job_id, headers) {
|
|
|
962
962
|
new_file_id = 'drv_' + app_id_master + '_' + (await _common.xuda_get_uuid(doc.drive_type)) + ext;
|
|
963
963
|
}
|
|
964
964
|
|
|
965
|
-
const folder_name = 'drive_folder_' + (doc.drive_type === 'studio' ? path.basename(fileName) : crypto.randomUUID());
|
|
965
|
+
// const folder_name = 'drive_folder_' + (doc.drive_type === 'studio' ? path.basename(fileName) : crypto.randomUUID());
|
|
966
|
+
const folder_name = 'drive_folder_' + (doc.drive_type === 'studio' ? path.basename(fileName) : _utils.UUID());
|
|
966
967
|
|
|
967
968
|
var dir = path.dirname(fileName);
|
|
968
969
|
if (dir && dir !== '.') {
|