@xuda.io/drive_module 1.1.1136 → 1.1.1138
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 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1037,6 +1037,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1037
1037
|
uid,
|
|
1038
1038
|
type: 'file',
|
|
1039
1039
|
date_created: Date.now(),
|
|
1040
|
+
date_modified: 0,
|
|
1040
1041
|
ip: headers['cf-connecting-ip'],
|
|
1041
1042
|
country: headers['cf-ipcountry'],
|
|
1042
1043
|
file_ext: ext,
|
|
@@ -1788,6 +1789,7 @@ const get_drive_doc = async function (type, drive_type, app_id, uid, file_path,
|
|
|
1788
1789
|
originalname: file_name,
|
|
1789
1790
|
file_path: file_path,
|
|
1790
1791
|
date_created: new Date(statsObj.birthtime).valueOf(),
|
|
1792
|
+
date_modified: 0,
|
|
1791
1793
|
ip: headers?.['cf-connecting-ip'],
|
|
1792
1794
|
country: headers?.['cf-ipcountry'],
|
|
1793
1795
|
file_ext: ext,
|