@xuda.io/drive_module 1.1.697 → 1.1.698
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
|
@@ -2363,7 +2363,7 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
|
|
|
2363
2363
|
);
|
|
2364
2364
|
|
|
2365
2365
|
var target_file = path.join(file_path, file_name);
|
|
2366
|
-
const master_id = await _common.get_project_app_id(app_id, true);
|
|
2366
|
+
// const master_id = await _common.get_project_app_id(app_id, true);
|
|
2367
2367
|
|
|
2368
2368
|
let doc_ret;
|
|
2369
2369
|
|
|
@@ -2403,6 +2403,7 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
|
|
|
2403
2403
|
if (drive_type === "studio") {
|
|
2404
2404
|
const ext = path.extname(file_name).toLowerCase();
|
|
2405
2405
|
doc = {
|
|
2406
|
+
_id: target_file,
|
|
2406
2407
|
docType: `${drive_type}_drive`,
|
|
2407
2408
|
stat: 3,
|
|
2408
2409
|
originalname: file_name,
|