@xuda.io/drive_module 1.1.658 → 1.1.659
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2370,6 +2370,7 @@ exports.update_drive_file_tags = async function (req) {
|
|
|
2370
2370
|
var doc = {};
|
|
2371
2371
|
if (doc_ret.code > -1) {
|
|
2372
2372
|
doc = doc_ret.data;
|
|
2373
|
+
doc.date_modified = Date.now();
|
|
2373
2374
|
} else {
|
|
2374
2375
|
if (drive_type === "studio") {
|
|
2375
2376
|
const ext = path.extname(file_name_id).toLowerCase();
|
|
@@ -2390,7 +2391,7 @@ exports.update_drive_file_tags = async function (req) {
|
|
|
2390
2391
|
throw new Error("file not found");
|
|
2391
2392
|
}
|
|
2392
2393
|
}
|
|
2393
|
-
|
|
2394
|
+
|
|
2394
2395
|
doc.tags = tags;
|
|
2395
2396
|
let save_ret;
|
|
2396
2397
|
|