@xuda.io/drive_module 1.1.652 → 1.1.654
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
|
@@ -2371,7 +2371,7 @@ exports.update_drive_file_tags = async function (req) {
|
|
|
2371
2371
|
if (doc_ret.code > -1) {
|
|
2372
2372
|
var doc = doc_ret.data;
|
|
2373
2373
|
doc.date_modified = Date.now();
|
|
2374
|
-
doc.
|
|
2374
|
+
doc.tags = tags;
|
|
2375
2375
|
let save_ret;
|
|
2376
2376
|
|
|
2377
2377
|
switch (drive_type) {
|
|
@@ -2395,7 +2395,7 @@ exports.update_drive_file_tags = async function (req) {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
return {
|
|
2397
2397
|
code: 200,
|
|
2398
|
-
data:
|
|
2398
|
+
data: tags,
|
|
2399
2399
|
};
|
|
2400
2400
|
} catch (err) {
|
|
2401
2401
|
return {
|