@xuda.io/drive_module 1.1.797 → 1.1.798

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1090,11 +1090,13 @@ exports.create_drive_folder = async function (req, job_id, headers) {
1090
1090
  };
1091
1091
  }
1092
1092
  };
1093
- exports.rename_drive_file = async function (req) {
1093
+ exports.rename_drive_file = async function (req, job_id, headers) {
1094
1094
  try {
1095
1095
  const { drive_type, app_id, file_name_to, file_path } = req;
1096
1096
  validate_drive_type(drive_type);
1097
1097
 
1098
+ let doc = await get_drive_doc(drive_type, app_id, uid, file_path, headers);
1099
+
1098
1100
  let check_req = {
1099
1101
  app_id,
1100
1102
  uid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.797",
3
+ "version": "1.1.798",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {