@xuda.io/drive_module 1.1.693 → 1.1.695

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.
Files changed (2) hide show
  1. package/index.js +0 -19
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2357,14 +2357,6 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
2357
2357
 
2358
2358
  var target_file = path.join(file_path, file_name);
2359
2359
  const master_id = await _common.get_project_app_id(app_id, true);
2360
- const tempPath = file_obj.path;
2361
- if (drive_type === "studio") {
2362
- const target_dir = path.join(
2363
- _conf[`studio_drive_path`],
2364
- master_id,
2365
- target_file
2366
- );
2367
- }
2368
2360
 
2369
2361
  let doc_ret;
2370
2362
 
@@ -2373,17 +2365,6 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
2373
2365
  const app_id_master = await _common.get_project_app_id(app_id, true);
2374
2366
  doc_ret = await db_module.get_app_couch_doc(app_id_master, target_file);
2375
2367
 
2376
- // if (doc_ret.code > -1) {
2377
- // doc_ret.data._delete = true;
2378
- // save_ret = await db_module.save_app_couch_doc(
2379
- // app_id_master,
2380
- // doc_ret.data
2381
- // );
2382
-
2383
- // doc_ret.data._id = file_name_id;
2384
- // delete doc_ret.data._rev;
2385
- // }
2386
-
2387
2368
  break;
2388
2369
  }
2389
2370
  case "workspace": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.693",
3
+ "version": "1.1.695",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {