@xuda.io/drive_module 1.1.1134 → 1.1.1136
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 +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -191,7 +191,8 @@ exports.get_drive_files = async function (req) {
|
|
|
191
191
|
let ts = '';
|
|
192
192
|
if (doc.date_modified && Date.now() - doc.date_modified < 4320 * 1000) {
|
|
193
193
|
ts = '?ts=' + Date.now();
|
|
194
|
-
} else if (app_obj
|
|
194
|
+
} else if (app_obj?.app_build_id) {
|
|
195
|
+
ts = '?ts=' + app_obj?.app_build_id;
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
try {
|
|
@@ -643,6 +644,7 @@ exports.create_drive_folder = async function (req, job_id, headers) {
|
|
|
643
644
|
folder_name,
|
|
644
645
|
uid,
|
|
645
646
|
date_created: Date.now(),
|
|
647
|
+
date_modified: 0,
|
|
646
648
|
ip: headers?.['cf-connecting-ip'],
|
|
647
649
|
country: headers?.['cf-ipcountry'],
|
|
648
650
|
is_folder: true,
|
|
@@ -941,6 +943,7 @@ exports.extract_drive_file = async function (req, job_id, headers) {
|
|
|
941
943
|
app_id: app_id_reference,
|
|
942
944
|
app_id_reference: app_id_master,
|
|
943
945
|
date_created: Date.now(),
|
|
946
|
+
date_modified: 0,
|
|
944
947
|
ip: headers['cf-connecting-ip'],
|
|
945
948
|
country: headers['cf-ipcountry'],
|
|
946
949
|
file_ext: ext,
|