@xuda.io/drive_module 1.1.835 → 1.1.837

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 +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1627,6 +1627,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1627
1627
  // file_name: originalname,
1628
1628
  // file_path: doc.file_path,
1629
1629
  file_path: path.join(doc.file_path, originalname),
1630
+ type: "file",
1630
1631
  };
1631
1632
  const check_existing_file_ret = await module.exports.check_drive_file(
1632
1633
  check_req
@@ -1812,7 +1813,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1812
1813
  }
1813
1814
  };
1814
1815
  exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1815
- const { drive_type, app_id, uid, file_path } = req;
1816
+ const { type, drive_type, app_id, uid, file_path } = req;
1816
1817
 
1817
1818
  var master_app_id;
1818
1819
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.835",
3
+ "version": "1.1.837",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {