@xuda.io/drive_module 1.1.1015 → 1.1.1016
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 +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -43,7 +43,6 @@ const url = require("url");
|
|
|
43
43
|
"rename_drive_folder",
|
|
44
44
|
"update_drive_file_sharing_mode",
|
|
45
45
|
"delete_file_bulk",
|
|
46
|
-
|
|
47
46
|
"check_drive_file",
|
|
48
47
|
"update_drive_file_tags",
|
|
49
48
|
].forEach((method) => {
|
|
@@ -1610,7 +1609,7 @@ exports.check_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1610
1609
|
};
|
|
1611
1610
|
|
|
1612
1611
|
if (type === "file") {
|
|
1613
|
-
selector.originalname = path.basename(file_path);
|
|
1612
|
+
selector.originalname = file_path; // path.basename(file_path);
|
|
1614
1613
|
}
|
|
1615
1614
|
|
|
1616
1615
|
switch (drive_type) {
|