@xuda.io/drive_module 1.1.794 → 1.1.796

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 +1 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -503,10 +503,6 @@ exports.get_drive_file_info = async function (req, job_id, headers) {
503
503
 
504
504
  let doc = await get_drive_doc(drive_type, app_id, uid, file_path, headers);
505
505
 
506
- const app_id_master = await _common.get_project_app_id(app_id, true);
507
-
508
- var statsObj = {};
509
-
510
506
  delete doc._id;
511
507
  delete doc._rev;
512
508
 
@@ -517,6 +513,7 @@ exports.get_drive_file_info = async function (req, job_id, headers) {
517
513
  }
518
514
 
519
515
  delete doc.bucket;
516
+
520
517
  if (doc.uid) {
521
518
  let ret = await db_module.get_couch_doc("xuda_accounts", doc.uid);
522
519
  doc.account_info = ret.data.account_info;
@@ -537,7 +534,6 @@ exports.get_drive_file_info = async function (req, job_id, headers) {
537
534
  data: {
538
535
  name: doc_ret.code < 0 ? file_name : doc.originalname,
539
536
  cy_data: doc,
540
-
541
537
  exif_data: doc.exif_data,
542
538
  },
543
539
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.794",
3
+ "version": "1.1.796",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {