@xuda.io/drive_module 1.1.782 → 1.1.784
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2592,12 +2592,12 @@ const get_drive_doc = async function (
|
|
|
2592
2592
|
const file_name = path.basename(file_path);
|
|
2593
2593
|
const ext = path.extname(file_name).toLowerCase();
|
|
2594
2594
|
doc = {
|
|
2595
|
-
_id:
|
|
2595
|
+
_id: file_path,
|
|
2596
2596
|
docType: `studio_drive`,
|
|
2597
2597
|
stat: 3,
|
|
2598
2598
|
server_file_name: file_name,
|
|
2599
2599
|
originalname: file_name,
|
|
2600
|
-
|
|
2600
|
+
file_path: file_path,
|
|
2601
2601
|
date_created: Date.now(),
|
|
2602
2602
|
ip: headers?.["cf-connecting-ip"],
|
|
2603
2603
|
country: headers?.["cf-ipcountry"],
|