@xuda.io/drive_module 1.1.574 → 1.1.575

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -44,13 +44,13 @@ 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;
48
47
  module.exports[method + "_" + type] = async function (
49
48
  req,
50
49
  job_id,
51
50
  headers,
52
51
  file_obj
53
52
  ) {
53
+ req.drive_type = type;
54
54
  return await module.exports[method](req, job_id, headers, file_obj);
55
55
  };
56
56
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.574",
3
+ "version": "1.1.575",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {