@xuda.io/drive_module 1.1.1206 → 1.1.1207
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 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const misc_module = require(`${module_path}/misc_module`);
|
|
|
15
15
|
|
|
16
16
|
const rimraf = require('rimraf');
|
|
17
17
|
const fse = require('fs-extra');
|
|
18
|
-
const crypto = require('node:crypto');
|
|
18
|
+
// const crypto = require('node:crypto');
|
|
19
19
|
const unzipper = require('unzipper');
|
|
20
20
|
const fs = require('fs');
|
|
21
21
|
const tesseract = require('node-tesseract-ocr');
|
|
@@ -724,7 +724,7 @@ exports.create_drive_folder = async function (req, job_id, headers) {
|
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
case 'workspace': {
|
|
727
|
-
folder_id = 'drive_folder_' + crypto.randomUUID();
|
|
727
|
+
folder_id = 'drive_folder_' + _utils.UUID(); // crypto.randomUUID();
|
|
728
728
|
app_id_reference = await _common.get_project_app_id(app_id);
|
|
729
729
|
doc._id = folder_id;
|
|
730
730
|
save_ret = await db_module.save_app_couch_doc(app_id_reference, doc);
|