@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.
- package/index.js +3 -1
- 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,
|