@xuda.io/drive_module 1.1.572 → 1.1.574

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -44,6 +44,7 @@ const fs = require("fs");
44
44
  "check_drive_file",
45
45
  ].forEach((method) => {
46
46
  ["workspace", "studio", "user"].forEach((type) => {
47
+ req.drive_type = type;
47
48
  module.exports[method + "_" + type] = async function (
48
49
  req,
49
50
  job_id,
@@ -1536,6 +1537,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1536
1537
  }
1537
1538
  };
1538
1539
  exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1540
+ debugger;
1539
1541
  const { drive_type, app_id, uid, originalname } = req;
1540
1542
  var file_name, ref;
1541
1543
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.572",
3
+ "version": "1.1.574",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {